-
Notifications
You must be signed in to change notification settings - Fork 595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQLAlchemy Instrumentation: enable_commenter
can't be disabled.
#1368
Comments
Correct, and pass it to |
hi, can you assign this to me? thanks :) |
I did the change to pass But the problem can still happen, because the functionality of If you initiate the instrumentation using an existing engine, the
This basically means that you either have to initiate the instrumentation using an existing engine, or manually call I would like to hear opinions on how to solve this.. |
Based on the documentation, you'd assume that:
Would enable instrumentation but disable the statement commenter, but it doesn't work. It looks like you can't disable the sql commenter unless you are providing the
engine
keyword as well, which requires you to have already created the engine at that point in your code path.It looks like the
enable_commenter
and related kwargs need to be passed to the_wrap_create_engine
function?The text was updated successfully, but these errors were encountered: