You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow to pass hide_parameters into GinoEngine #798
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__.
Activity