Parameter is typically seen as the common return type for parameter widgets you access in context.py and other helpers.
Concrete parameter widgets are created by Squirrels based on your parameter configuration and returned from Squirrels APIs; you should not instantiate Parameter directly. Use one of the concrete implementations:
- SingleSelectParameter
- MultiSelectParameter
- DateParameter
- DateRangeParameter
- NumberParameter
- NumberRangeParameter
- TextParameter
parameters module rather than Parameter itself.
If Parameter is needed for type annotation, it can be imported from the squirrels.types or squirrels module.