EntityDependencyEventHandlerImpl

class app.portfolio.models.entity.dependency_event_handler.impl.EntityDependencyEventHandlerImpl[source]

Bases: EntityDependencyEventHandlerBase, Generic

Inheritance diagram of EntityDependencyEventHandlerImpl

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]
Parameters:
  • owner (T_Owner)

  • record (T_Record)

  • attribute (str)

  • value (Any)

Return type:

bool

static entity_matchers(owner: T_Owner, record: T_Record) bool[source]
Parameters:
  • owner (T_Owner)

  • record (T_Record)

Return type:

bool

abstractmethod static handler(owner: T_Owner, event: EntityDependencyEventType, record: T_Record, *, matched_attributes: frozenset[str] | None = None) None[source]
Parameters:
Return type:

None