orm
Various ActionStep subclasses that inform the GUI of changes
in the model.
-
class camelot.view.action_steps.orm.CreateObject(obj)[source]
Inform the GUI that obj was created.
| Parameters: | obj – the object that was created |
-
class camelot.view.action_steps.orm.DeleteObject(obj)[source]
Inform the GUI that obj is going to be deleted.
| Parameters: | obj – the object that is going to be deleted |
-
class camelot.view.action_steps.orm.FlushSession(session, update_depending_objects=True)[source]
Flushes the session and informs the GUI about the
changes.
| Parameters: |
- session – an instance of sqlalchemy.orm.Session
- update_depending_objects – set to False if the objects that depend
on an object that has been modified need not to be updated in the GUI.
This will make the flushing faster, but the GUI might become
inconsistent.
|
-
class camelot.view.action_steps.orm.UpdateObject(obj)[source]
Inform the GUI that obj has changed.
| Parameters: | obj – the object that has changed |