Skip to content

Commit 751c901

Browse files
Barry1autophagy
authored andcommitted
inserted driver for solving issue #348
Using SQL-Alchemy needs the attribute driver. I simply added `crate-python` as the driver name. This solves https://github.com/crate/crate-python/issues/348
1 parent 6a9ad38 commit 751c901

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/crate/client/sqlalchemy/dialect.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ def process(value):
159159

160160
class CrateDialect(default.DefaultDialect):
161161
name = 'crate'
162+
driver = 'crate-python'
162163
statement_compiler = CrateCompiler
163164
ddl_compiler = CrateDDLCompiler
164165
type_compiler = CrateTypeCompiler

0 commit comments

Comments
 (0)