Skip to content

Commit a8f618e

Browse files
committed
fix kwargs
1 parent 0c3bf03 commit a8f618e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/gino/api.py

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

0 commit comments

Comments
 (0)