Skip to content

Commit 310e334

Browse files
Jannik Waschkauwgordon17
authored andcommitted
fix creation of instances of database backend classes
1 parent c1d7fb8 commit 310e334

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

sql_server/pyodbc/base.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -207,12 +207,12 @@ def __init__(self, *args, **kwargs):
207207
ops[op] = '%s COLLATE %s' % (sql, collation)
208208
self.operators.update(ops)
209209

210-
self.features = DatabaseFeatures(self)
211-
self.ops = DatabaseOperations(self)
212-
self.client = DatabaseClient(self)
213-
self.creation = DatabaseCreation(self)
214-
self.introspection = DatabaseIntrospection(self)
215-
self.validation = BaseDatabaseValidation(self)
210+
self.features = self.features_class(self)
211+
self.ops = self.ops_class(self)
212+
self.client = self.client_class(self)
213+
self.creation = self.creation_class(self)
214+
self.introspection = self.introspection_class(self)
215+
self.validation = self.validation_class(self)
216216

217217
def create_cursor(self, name=None):
218218
return CursorWrapper(self.connection.cursor(), self)

0 commit comments

Comments
 (0)