Skip to main contentAbstract base class for all parameter option classes. In Squirrels projects, ParameterOption most often appears in type hints as the common type for concrete options returned by parameter widgets.
Instances are created through concrete option classes and configuration helpers; you should not instantiate ParameterOption directly. Use one of the concrete implementations:
When you need to construct options, use the concrete classes from the parameter_options module rather than ParameterOption itself.
If ParameterOption is needed for type annotation, it can be imported from the squirrels.types or squirrels module.