ParamFilter type: param#
- class lumen.filters.base.ParamFilter(*, parameter, field, label, schema, shared, sync_with_url, table, value, name)#
ParamFilter reflects the value of a parameter declared on a View.
The ParamFilter can be used to implement cross-filtering between different views.
Parameters#
parameter
type: param.Parameter | str
default: None
Reference to a Parameter on an existing View.
Methods#
- ParamFilter.to_spec(context: Dict[str, Any] | None = None) Dict[str, Any] #
Exports the full specification to reconstruct this component.
- Return type:
Resolved and instantiated Component object