EntityDependencyEventHandlerModel

class app.portfolio.models.entity.dependency_event_handler.model.EntityDependencyEventHandlerModel[source]

Bases: LoggableModel, EntityDependencyEventHandlerBase, Generic

Inheritance diagram of EntityDependencyEventHandlerModel

Inheritance Diagram for EntityDependencyEventHandlerModel

Methods

model_post_init(context)

Attributes

model_config

Configuration for the model, should be a dictionary conforming to ConfigDict.

handler

on_updated

on_deleted

entity_matchers

attribute_matchers

attribute_matchers: tuple[Annotated[EntityDependencyEventAttributeMatcher, InstanceOf()] | str, ...] | Annotated[EntityDependencyEventAttributeMatcher, InstanceOf()] | str | None
entity_matchers: tuple[Annotated[EntityDependencyEventEntityMatcher, InstanceOf()], ...] | Annotated[EntityDependencyEventEntityMatcher, InstanceOf()] | None
handler: Annotated[EntityDependencyEventHandler, InstanceOf()]
model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'frozen': True}

Configuration for the model, should be a dictionary conforming to ConfigDict.

model_post_init(context: Any) None
Parameters:

context (Any)

Return type:

None

on_deleted: bool
on_updated: bool