Skip to content

Commit bdeafad

Browse files
committed
minor fix
1 parent 0c3bf03 commit bdeafad

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/gino/api.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,13 @@ def __init__(
364364
:class:`~sqlalchemy.schema.MetaData`.
365365
366366
"""
367-
super().__init__(bind=bind, naming_convention=NAMING_CONVENTION, **kwargs)
367+
preset_kwargs = dict(
368+
naming_convention=NAMING_CONVENTION,
369+
bind=bind
370+
)
371+
preset_kwargs.update(kwargs)
372+
super().__init__(**preset_kwargs)
373+
368374
if model_classes is None:
369375
model_classes = self.model_base_classes
370376
self._model = declarative_base(self, model_classes)

0 commit comments

Comments
 (0)