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.
Show JSON schema
{ "title": "BaseGroupComponent", "description": "Base group component.\n\nBase class for SWAN group components. This base class modifies the `render()`\nmethod to allow rendering of a list of components. It is not intended to be used\ndirectly but to be subclassed by other group components.", "type": "object", "properties": { "model_type": { "default": "group", "description": "Model type discriminator", "enum": [ "group", "GROUP" ], "title": "Model Type", "type": "string" } }, "additionalProperties": false }
- field model_type: Literal['group', 'GROUP'] = 'group'#
Model type discriminator