events
Class info¶
Classes¶
| Name | Children | Inherits |
|---|---|---|
| Event datacook.engine.events Event(kind: datacook.engine.events.EventKind, node_ids: tuple[str, ...], generation: int | None \= None, error: BaseException | None \= None) |
||
| EventKind datacook.engine.events |
🛈 DocStrings¶
Session events (plain callbacks, no Qt).
EventKind
¶
Bases: StrEnum
Source code in src/datacook/engine/events.py
ADDED
class-attribute
instance-attribute
¶
A node was added (node_ids = the new node).
CHANGED
class-attribute
instance-attribute
¶
A node's params / name / comment changed (node_ids = the node).
ERROR
class-attribute
instance-attribute
¶
Computing a node failed (error holds the exception).
EVICTED
class-attribute
instance-attribute
¶
Frames were dropped from the cache (memory budget); summaries stay available.
INVALIDATED
class-attribute
instance-attribute
¶
Cached results are outdated (node_ids = the edited node + all descendants).
MATERIALIZED
class-attribute
instance-attribute
¶
A node's frame was computed and cached for generation.
MOVED
class-attribute
instance-attribute
¶
Nodes got new parents (node_ids = the re-parented nodes); followed by INVALIDATED.
REMOVED
class-attribute
instance-attribute
¶
Nodes were removed (node_ids = the node and all its descendants).