Connection

class flexcore.config.spec.Connection(*, port: str, to: str, name: str | None = None, doc: str | None = None, index: str | None = None, directed: bool = True)

An arc from a port of the unit that owns it to another unit’s port.

model_config = {'extra': 'forbid'}

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