Skip to content

InterfaceBase

InterfaceBase

InterfaceBase(name: str, owners: List[str])

Bases: ABC

Extension base for model-owned, lifecycle-aware interface definitions.

Parameters:

Name Type Description Default
name str

Interface registry key.

required
owners list[str]

Component names participating in the interface.

required

Concrete subclasses subscribe to model events when registered and release subscriptions when removed. Ordinary scripts use model.interface factories. This base itself generates no coupling elements or solver commands.