SessionBridge
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| QObject PySide6.QtCore QObject(self, /, parent: PySide6.QtCore.QObject | None \= None, *, objectName: str | None \= None) -> None |
⋔ Inheritance diagram¶
graph TD
3398455838["bridge.SessionBridge"]
3984060476["QtCore.QObject"]
37984305["Shiboken.Object"]
2751680898["builtins.object"]
3984060476 --> 3398455838
37984305 --> 3984060476
2751680898 --> 37984305
🛈 DocStrings¶
Bases: QObject
Source code in src/datacook/app/bridge.py
drained
class-attribute
instance-attribute
¶
After each drain (tests, coarse refreshes).
memory_changed
class-attribute
instance-attribute
¶
Once per drain after anything that changes session.memory().
node_error
class-attribute
instance-attribute
¶
(failing node id, exception).
nodes_changed
class-attribute
instance-attribute
¶
Params / name / comment changed.
nodes_invalidated
class-attribute
instance-attribute
¶
Cached results outdated (edited node + descendants); a new generation each.
nodes_moved
class-attribute
instance-attribute
¶
Nodes got new parents (a middle step was deleted / restored); INVALIDATED follows.
nodes_removed
class-attribute
instance-attribute
¶
The removed nodes incl. descendants.
structure_reset
class-attribute
instance-attribute
¶
Too many events at once (project load): rebuild views from the session.
flush
¶
on_event
¶
post
¶
Run fn(*args) on the GUI thread, after everything queued before (any thread).