Module macrobond_data_api.web.web_types.search.search_filter

Classes

class SearchFilter (*args, **kwargs)

A filter in a search request

Ancestors

  • builtins.dict

Class variables

var entityTypes : List[str] | None

One or more entity types to include in the search. An empty list will include all types. If not specified, the search will be made for TimeSeries.

var mustHaveAttributes : List[str] | None

Attributes to be matched against entities when searching. Any value will match.

var mustHaveFilterListPath : str | None

Optional path to filter list that is added to the set of MustHaveValues. The paths are typically obtained from a call ListFilterLists.

var mustHaveValues : Dict[str, object] | None

Pairs of attributes and values to be matched against entities when searching

var mustNotHaveAttributes : List[str] | None

Attributes to exclude entities when searching. Any value will match.

var mustNotHaveValues : Dict[str, object] | None

Pairs of attributes and values to exclude entities when searching

var text : str | None

Words to search for separated by space.