File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
src/databricks/sqlalchemy Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- from databricks .sqlalchemy .dialect import DatabricksDialect
1
+ from databricks .sqlalchemy .dialect import DatabricksDialect
Original file line number Diff line number Diff line change 9
9
10
10
from databricks .sqlalchemy .dialect .base import DatabricksIdentifierPreparer
11
11
12
+
12
13
class DatabricksDialect (default .DefaultDialect ):
13
- """This dialect implements only those methods required to pass our e2e tests
14
- """
14
+ """This dialect implements only those methods required to pass our e2e tests"""
15
15
16
16
# Possible attributes are defined here: https://docs.sqlalchemy.org/en/14/core/internals.html#sqlalchemy.engine.Dialect
17
17
name : str = "databricks"
@@ -33,7 +33,7 @@ def create_connect_args(self, url):
33
33
"access_token" : url .password ,
34
34
"http_path" : url .query .get ("http_path" ),
35
35
"catalog" : url .query .get ("catalog" ),
36
- "schema" : url .query .get ("schema" )
36
+ "schema" : url .query .get ("schema" ),
37
37
}
38
38
39
39
return [], kwargs
Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ class DatabricksIdentifierPreparer(compiler.IdentifierPreparer):
9
9
legal_characters = re .compile (r"^[A-Z0-9_]+$" , re .I )
10
10
11
11
def __init__ (self , dialect ):
12
- super ().__init__ (dialect , initial_quote = "`" )
12
+ super ().__init__ (dialect , initial_quote = "`" )
You can’t perform that action at this time.
0 commit comments