platypush/platypush/entities/_engine/repo
Fabio Manganiello 31552963c4
`EntitiesDb.upsert` should return a deep copy of the upserted entities.
Not the upserted entities themselves, no matter if expunged or made transient.

Reminder to my future self: returning the flushed entities and then using them
outside of the session or in another thread opens a big can of worms when using
SQLAlchemy.
2023-03-10 12:06:36 +01:00
..
__init__.py Added auto_commit=False to entities.save() 2023-03-10 00:40:51 +01:00
db.py `EntitiesDb.upsert` should return a deep copy of the upserted entities. 2023-03-10 12:06:36 +01:00
merger.py A dirty fix to prevent DetachedInstanceError when accessing the parent entity. 2023-03-10 11:45:44 +01:00