FunctionalBlock

class FunctionalBlock

Bases: BaseModel

Represents a functional block in the system diagram.

block_id

Unique identifier for the block.

Type:

str

name

Name of the functional block.

Type:

str

description

Brief description of the block’s function.

Type:

str

inputs

List of input signal names.

Type:

List[str]

outputs

List of output signal names.

Type:

List[str]

Attributes Summary

model_config

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

Attributes Documentation

model_config: ClassVar[ConfigDict] = {}

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

Attributes:

__pydantic_setattr_handlers__

__setattr__ handlers.

__pydantic_setattr_handlers__: ClassVar[Dict[str, Callable[[BaseModel, str, Any], None]]] = {}

__setattr__ handlers. Memoizing the handlers leads to a dramatic performance improvement in __setattr__