-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 2.0 not supported when task history enabled #3227
Comments
can be avoided by pinning sqlalchemy to
but you probably found it out by your own. however it's crazy that this is not addressed by the maintaining team. it's takes like 1 minute to fix it. |
If I want to use "oracledb" which is available in sqlalchemy==2.0.7, _upgrade_schema wont allow the sql execution in plain text format. Instead, it requires to be as |
As far as I can tell, the issue is in the
_upgrade_schema
function. In 2.0, string queries must be enclosed in atext
object and for some reason the rows returned inconn.execute(sqlalchemy.text('PRAGMA table_info(task_parameters);')).fetchall()
have no keys. I do not know if there are other changes in 2.0 that will break functionality.The text was updated successfully, but these errors were encountered: