DataSignal

class DataSignal

Bases: BaseModel

Represents a data signal in the system.

name

Name of the signal.

Type:

str

type

Type of the signal.

Type:

SignalType

direction

Direction of the signal.

Type:

SignalDirection

source

Source of the signal (system or component ID).

Type:

str

destination

Destination of the signal (system or component ID).

Type:

str

description

Brief description of the signal.

Type:

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__