-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Labels
@FNSdev
Description
Hello!
Is your feature request related to a problem? Please describe.
I would like to utilize hide_parameters
argument from the SQLAlchemy engine, but it seems like it's not possible right now, because GinoEngine
does not have such a kwarg, so I get a TypeError from here:
class GinoStrategy:
async def create(self, name_or_url, loop=None, **kwargs):
....
# all kwargs should be consumed
if kwargs:
raise TypeError(
"Invalid argument(s) %s sent to create_engine(), "
"using configuration %s/%s. Please check that the "
"keyword arguments are appropriate for this combination "
"of components."
% (
",".join("'%s'" % k for k in kwargs),
dialect_cls.__name__,
engine_cls.__name__,
)
)
Describe the solution you'd like
Make it possible to pass hide_parameters
into GinoEngine __init__
.
Describe alternatives you've considered
Additional context
I am using Gino 1.0.1 and SQLALchemy 1.3.22.