EntityDependencyEventHandlerImpl
- class app.portfolio.models.entity.dependency_event_handler.impl.EntityDependencyEventHandlerImpl[source]
Bases:
EntityDependencyEventHandlerBase
,Generic
Inheritance Diagram for EntityDependencyEventHandlerImpl
Methods
attribute_matchers
(owner, record, attribute, ...)entity_matchers
(owner, record)handler
(owner, event, record, *[, ...])Attributes
- static attribute_matchers(owner: T_Owner, record: T_Record, attribute: str, value: Any) bool [source]
- static entity_matchers(owner: T_Owner, record: T_Record) bool [source]
- Parameters:
owner (T_Owner)
record (T_Record)
- Return type:
- abstractmethod static handler(owner: T_Owner, event: EntityDependencyEventType, record: T_Record, *, matched_attributes: frozenset[str] | None = None) None [source]
- Parameters:
owner (T_Owner)
event (EntityDependencyEventType)
record (T_Record)
- Return type:
None