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:
- SelectParameterOption
- DateParameterOption
- DateRangeParameterOption
- NumberParameterOption
- NumberRangeParameterOption
- TextParameterOption
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.