rompy.swan.components.group.BaseGroupComponent#

pydantic model rompy.swan.components.group.BaseGroupComponent[source]#

Base group component.

Base class for SWAN group components. This base class modifies the render() method to allow rendering of a list of components. It is not intended to be used directly but to be subclassed by other group components.

Fields:
field model_type: Literal['group', 'GROUP'] = 'group'#

Model type discriminator

render(*args, **kwargs) str[source]#

Override base class to allow rendering list of components.