Persistent storage of objects #28

Open
opened 2026-03-26 08:22:52 +01:00 by vegardbm · 0 comments
Owner

This is the warning I get:

./worblehat/src/worblehat/cli/main.py:148: SAWarning: Object of type <BookcaseItem> not in session, add operation along 'BookcaseShelf.items' will not proceed (This warning originated from the Session 'autoflush' process, which was invoked automatically in response to a user-initiated operation. Consider using ``no_autoflush`` context manager if this warning happened while initializing objects.)
  default=self.sql_session.scalars(
This is the warning I get: ``` ./worblehat/src/worblehat/cli/main.py:148: SAWarning: Object of type <BookcaseItem> not in session, add operation along 'BookcaseShelf.items' will not proceed (This warning originated from the Session 'autoflush' process, which was invoked automatically in response to a user-initiated operation. Consider using ``no_autoflush`` context manager if this warning happened while initializing objects.) default=self.sql_session.scalars( ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Projects/worblehat#28