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 a8f618eCopy full SHA for a8f618e
src/gino/api.py
@@ -364,7 +364,10 @@ def __init__(
364
:class:`~sqlalchemy.schema.MetaData`.
365
366
"""
367
- super().__init__(bind=bind, naming_convention=NAMING_CONVENTION, **kwargs)
+ preset_kwargs = dict(naming_convention=NAMING_CONVENTION, bind=bind)
368
+ preset_kwargs.update(kwargs)
369
+ super().__init__(**preset_kwargs)
370
+
371
if model_classes is None:
372
model_classes = self.model_base_classes
373
self._model = declarative_base(self, model_classes)
0 commit comments