Skip to content

Commits keep loaded objects readable - #322

Merged
czpython merged 1 commit into
mainfrom
eng-874-expire-on-commit
Aug 24, 2026
Merged

Commits keep loaded objects readable#322
czpython merged 1 commit into
mainfrom
eng-874-expire-on-commit

Conversation

@czpython

Copy link
Copy Markdown
Owner

Both session constructions set expire_on_commit=False: reading an attribute after commit returns what was loaded instead of issuing a refresh query — a refresh that async sessions turn into an error. Model methods already re-select when they need fresh state.

🤖 Generated with Claude Code

@czpython
czpython force-pushed the eng-874-expire-on-commit branch from a394a51 to 61d4bd6 Compare August 24, 2026 10:58
@czpython
czpython enabled auto-merge (squash) August 24, 2026 10:58
@czpython
czpython merged commit fea8f89 into main Aug 24, 2026
1 check passed
@czpython
czpython deleted the eng-874-expire-on-commit branch August 24, 2026 11:00
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.

1 participant