Types
observant.types.collection_change_type.ObservableCollectionChangeType
Bases: Enum
Type of change that occurred in a collection.
Source code in observant\types\collection_change_type.py
observant.types.list_change.ObservableListChange
dataclass
Bases: Generic[T]
Information about a change to an ObservableList.
Source code in observant\types\list_change.py
observant.types.dict_change.ObservableDictChange
dataclass
Bases: Generic[TKey, TValue]
Information about a change to an ObservableDict.
Source code in observant\types\dict_change.py
observant.types.proxy_field_key.ProxyFieldKey
dataclass
observant.types.undo_config.UndoConfig
dataclass
Configuration for undo/redo behavior of an observable field.
Attributes:
Name | Type | Description |
---|---|---|
enabled |
bool
|
Whether undo/redo functionality is enabled for this field. |
undo_max |
Optional[int]
|
Maximum number of undo steps to store. None means unlimited. |
undo_debounce_ms |
Optional[int]
|
Time window in milliseconds to group changes. None means no debouncing. |