pySimBlocks.gui.blocks.parameter_meta

class pySimBlocks.gui.blocks.parameter_meta.ParameterMeta(name: str, type: str, required: bool = False, autofill: bool = False, default: Any | None = None, enum: List[Any] = <factory>, description: str = '')[source]

Bases: object

Describe one configurable parameter of a GUI block.

name: str

Parameter name.

type: str

User-facing parameter type description.

required: bool = False

Whether the parameter must be provided.

autofill: bool = False

Whether a default value should be inserted automatically.

default: Any | None = None

Default parameter value.

enum: List[Any]

Allowed values for enum-like parameters.

description: str = ''

Optional help text displayed in the GUI.