> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pysquirrels.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ParameterOption

> Base type for parameter option objects returned from parameters

Abstract 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:

* [SelectParameterOption](/references/python/parameter_options/selectparameteroption)
* [DateParameterOption](/references/python/parameter_options/dateparameteroption)
* [DateRangeParameterOption](/references/python/parameter_options/daterangeparameteroption)
* [NumberParameterOption](/references/python/parameter_options/numberparameteroption)
* [NumberRangeParameterOption](/references/python/parameter_options/numberrangedatasource)
* [TextParameterOption](/references/python/parameter_options/textparameteroption)

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.
