FacetFilter  type: facet#

class lumen.filters.base.FacetFilter(*, field, label, schema, shared, sync_with_url, table, value, name)#

The FacetFilter allows faceting the data along some dimension to allow a single View to be exploded into multiple by grouping over one of the indexes.


Methods#

FacetFilter.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