Would be nice to have support for locking to prevent race conditions when loading and modifying models.
This could likely be done somewhat similar to how it's done in arangodantic, that implements lock_and_load, lock_and_reload, reload and get_lock methods on the model class.
Arangodantic uses Shylock for managing the locks. It does not yet have support for firedantic, but could easily be extended with support for it.
Would be nice to have support for locking to prevent race conditions when loading and modifying models.
This could likely be done somewhat similar to how it's done in arangodantic, that implements
lock_and_load
,lock_and_reload
,reload
andget_lock
methods on the model class.Arangodantic uses Shylock for managing the locks. It does not yet have support for firedantic, but could easily be extended with support for it.