flowrep.edge_models module
- class flowrep.edge_models.HandleModel(*, node: Annotated[str, BeforeValidator(func=_validate_label, json_schema_input_type=PydanticUndefined)] | None, port: Annotated[str, BeforeValidator(func=_validate_label, json_schema_input_type=PydanticUndefined)])[source]
Bases:
BaseModel- delimiter: ClassVar[str] = '.'
- model_config: ClassVar[ConfigDict] = {'frozen': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- node: base_models.Label | None
- port: base_models.Label
- class flowrep.edge_models.InputSource(*, node: None = None, port: Annotated[str, BeforeValidator(func=_validate_label, json_schema_input_type=PydanticUndefined)])[source]
Bases:
HandleModel- model_config: ClassVar[ConfigDict] = {'frozen': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- node: None
- port: base_models.Label
- class flowrep.edge_models.OutputTarget(*, node: None = None, port: Annotated[str, BeforeValidator(func=_validate_label, json_schema_input_type=PydanticUndefined)])[source]
Bases:
HandleModel- model_config: ClassVar[ConfigDict] = {'frozen': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- node: None
- port: base_models.Label
- class flowrep.edge_models.SourceHandle(*, node: Annotated[str, BeforeValidator(func=_validate_label, json_schema_input_type=PydanticUndefined)], port: Annotated[str, BeforeValidator(func=_validate_label, json_schema_input_type=PydanticUndefined)])[source]
Bases:
HandleModel- model_config: ClassVar[ConfigDict] = {'frozen': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- node: base_models.Label
- port: base_models.Label
- class flowrep.edge_models.TargetHandle(*, node: Annotated[str, BeforeValidator(func=_validate_label, json_schema_input_type=PydanticUndefined)], port: Annotated[str, BeforeValidator(func=_validate_label, json_schema_input_type=PydanticUndefined)])[source]
Bases:
HandleModel- model_config: ClassVar[ConfigDict] = {'frozen': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- node: base_models.Label
- port: base_models.Label