[Warning] SADeprecationWarning: The dbapi() classmethod on dialect classes has been renamed to import_dbapi().
moshe-shelly opened this issue · 1 comments
moshe-shelly commented
I'm using the library via SQLDatabase (from langchain_community.utilities)
Getting the following warning:
SADeprecationWarning: The dbapi() classmethod on dialect classes has been renamed to import_dbapi(). Implement an import_dbapi() classmethod directly on class <class 'pyathena.sqlalchemy.rest.AthenaRestDialect'> to remove this warning; the old .dbapi() classmethod may be maintained for backwards compatibility.
I think this here is where the change should be implemented:
PyAthena/pyathena/sqlalchemy/base.py
Line 1016 in cb90104
Thanks!
laughingman7743 commented