ResourceFrontSearchFilters
Holds front-end search filter configuration for resource selection components.
This class centralizes the filter logic shared between front-end resource selection components (Streamlit and Reflex) so both use the same API to configure default filters and disabled filters sent to the DC web component.
Filters mirror the LiResourceSearchFields TypeScript class used by the
front-end and keep the same camelCase keys.
:ivar filters: Dictionary of default filter values to apply to the resource search. :vartype filters: dict[str, Any] :ivar disabled_filters: Dictionary tracking which filters are disabled (the user cannot change them in the UI). :vartype disabled_filters: dict[str, bool]
disabled_filters: dictfilters: dictInitialize an empty set of filters.
Add a column tag filter to the resource search (matches columnTags).
strAnybool - FalseSet a filter for the resource search.
strAnybool - FalseAdd a tag filter to the resource search.
strAnybool - FalseAdd a filter to include not flagged resources (matches includeNotFlagged).
bool - FalseSet the createdAt date interval filter (matches createdAt).
datetime.datetime | Nonedatetime.datetime | Nonebool - FalseSet the createdBy user filter (matches createdBy).
strbool - FalseSet the data filter (matches data).
strbool - FalseSet the disabled filters for the resource search.
dictSet the filters for the resource search.
dictSet the folder filter (matches folder).
listbool - FalseSet the generatedByProcess filter (matches generatedByProcess).
strbool - FalseSet the id filter (matches id).
strbool - FalseSet the includeChildrenResource flag (matches includeChildrenResource).
boolbool - FalseSet the isArchived flag filter (matches isArchived).
boolbool - FalseSet the name filter (matches name).
strbool - FalseSet the origin filter (matches origin).
strbool - FalseSet the single resource typing filter (matches resourceTypingName).
strbool - FalseSet the resource typing names filter (matches resourceTypingNames).
listbool - FalseSet the scenario filter (matches scenario).
strbool - False