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
Error
Exception that is the base class of all other error exceptions. You can use this to catch all errors with one single except statement.
It must be a subclass of the Python Exception class.
Describe the bug
I'm trying to catch the asynch exception which raised in pre_ping
According to sqlalchemy's Doc
This should be working, but it isn't.
This event should be caught in sqlalchemy here
PEP 249 said
But in clickhouse_sqlalchemy/drivers/asynch/connector.py#L117
This error does not comply with PEP 249. It's should be
asynch.errors.UnexpectedPacketFromServerError
To Reproduce
Minimal piece of Python code that reproduces the problem.
Expected behavior
The exception should be caught and handled successfully.
Versions
asynch==0.2.4
clickhouse-sqlalchemy==0.3.2
SQLAlchemy==2.0.31
The text was updated successfully, but these errors were encountered: