Skip to content

Commit 01bcc21

Browse files
Jannik Waschkaumichiya
authored andcommitted
fix creation of instances of database backend classes
1 parent 88dbeb7 commit 01bcc21

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
@@ -209,12 +209,12 @@ def __init__(self, *args, **kwargs):
209209
ops[op] = '%s COLLATE %s' % (sql, collation)
210210
self.operators.update(ops)
211211

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

219219
def create_cursor(self, name=None):
220220
return CursorWrapper(self.connection.cursor(), self)

0 commit comments

Comments
 (0)