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

The session property returns a fresh session everytime it is invoked #23

Merged

Conversation

ale-rt
Copy link
Member

@ale-rt ale-rt commented Apr 4, 2024

Partially revert commit fb7d533 which caused the sqlalchemy session instance to be persisted as an instance attribute. Fixes #21
Closes #22.

Partially revert commit fb7d533
which caused the sqlalchemy session instance to be persisted as an instance attribute.
Fixes #21
@ale-rt ale-rt requested a review from icemac April 4, 2024 07:19
@ale-rt
Copy link
Member Author

ale-rt commented Apr 4, 2024

Thanks a lot @Buvi1234 for finding this out!

@ale-rt
Copy link
Member Author

ale-rt commented Apr 4, 2024

FYI the test run is here: https://github.com/zopefoundation/z3c.sqlalchemy/actions/runs/8551206228
Thanks @dataflake for starting it.

IDK why the status is not reported.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 8551206228

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.03%) to 80.513%

Totals Coverage Status
Change from base Build 6142524221: -0.03%
Covered Lines: 410
Relevant Lines: 480

💛 - Coveralls

@icemac icemac merged commit 9bd86ed into master Apr 9, 2024
9 checks passed
@icemac icemac deleted the partially-revert-fb7d533aae819dc7e1aef8322c2f2d60a9a1b5d0 branch April 9, 2024 15:11
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

Successfully merging this pull request may close these issues.

Getting connection busy issue on using latest version z3c.sqlalchemy
3 participants