We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c3bf03 commit bdeafadCopy full SHA for bdeafad
src/gino/api.py
@@ -364,7 +364,13 @@ def __init__(
364
:class:`~sqlalchemy.schema.MetaData`.
365
366
"""
367
- super().__init__(bind=bind, naming_convention=NAMING_CONVENTION, **kwargs)
+ preset_kwargs = dict(
368
+ naming_convention=NAMING_CONVENTION,
369
+ bind=bind
370
+ )
371
+ preset_kwargs.update(kwargs)
372
+ super().__init__(**preset_kwargs)
373
+
374
if model_classes is None:
375
model_classes = self.model_base_classes
376
self._model = declarative_base(self, model_classes)
0 commit comments