metadata.specification.activity package

Subpackages

Submodules

metadata.specification.activity.relations module

class metadata.specification.activity.relations.ControlFlow(**data)

Bases: RelationBase

Parameters:
condition: Optional[ControlFlowCondition]
guard: str
is_directed: bool
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

type: Literal['controlflow']
weight: str
class metadata.specification.activity.relations.ControlFlowCondition(**data)

Bases: BaseModel

Parameters:
  • isElse (bool)

  • target_class (str | None)

  • target_attribute (str | None)

  • target_attribute_type (str | None)

  • operator (str | None)

  • aggregator (str | None)

  • threshold (str | None)

  • target_class_name (str | None)

aggregator: Optional[str]
isElse: bool
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

operator: Optional[str]
classmethod set_target_class_name(values)
target_attribute: Optional[str]
target_attribute_type: Optional[str]
target_class: Optional[str]
target_class_name: Optional[str]
threshold: Optional[str]
classmethod validate_condition(values)
class metadata.specification.activity.relations.ObjectFlow(**data)

Bases: RelationBase

Parameters:
  • position_handlers (List[PositionHandlers] | None)

  • is_directed (bool)

  • guard (str)

  • weight (str)

  • cls (str)

  • type (Literal['objectflow'])

cls: str
guard: str
is_directed: bool
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

type: Literal['objectflow']
weight: str

Module contents