-
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
Scope SQLA session so object lifespans rendering for task history #3058
Conversation
would be nice if this patch can be merged in the next version 😞 |
I am giving this PR a go. The current release cc @dstandish |
Commenting just to make it easier to keep an eye on this PR and related Issue, since we are also being affected by this at the moment 👍 |
ping @Tarrasch |
He is not the maintainer anymore ... |
I'm good to merge this if we can get the feature branch updated with master and tests passing |
Noting the current working combination until this is merged-- |
ping @bsdz |
Very sorry I'm no longer using this project and haven't time to update this fork. |
Maybe another of us can volunteer to update his fork ... |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If closed, you may revisit when your time allows and reopen! Thank you for your contributions. |
Replaced by #3153 |
Description
For SQLAlchemy >1.4 it seems setting
expire_on_commit
toFalse
is less forgiving that older versions. This causes the following exception to be thrown when visiting the "/history" tab.Motivation and Context
This resolves issue #3006.
Have you tested this? If so, how?
I ran my jobs with this code and it works for me when using SQLAlchemy 1.4.1.