Skip to content
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: ConnectionEvents.dbapi_error() event is deprecated #841

Closed
ghost opened this issue Mar 11, 2019 · 1 comment
Closed

SQLAlchemy: ConnectionEvents.dbapi_error() event is deprecated #841

ghost opened this issue Mar 11, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 11, 2019

SQL alchemy integration listens to dbapi_error event. (found here https://github.com/DataDog/dd-trace-py/blob/master/ddtrace/contrib/sqlalchemy/engine.py#L70).

This event is deprecated sice sqlalchemy 0.9. Recently there is a warning:

sqlalchemy.exc.SADeprecationWarning: The ConnectionEvents.dbapi_error() event is deprecated and will be removed in a future release. Please refer to the ConnectionEvents.handle_error() event.

@Kyle-Verhoog
Copy link
Member

This should have been addressed with #1324. Feel free to re-open if you're still seeing the issue 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant