Search builder that support search on tags
:param SearchBuilder: description :type SearchBuilder: type
Attributes
entity_type: EntityType
Functions
Create a search build to make dynamic search
Filter the search query to scenarios that contains a specific process
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
process_typing_name | str |
Return type:
ScenarioSearchBuilder |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
expression | Expression |
Return type:
SearchBuilderType |
Filter the search query by a specific folder
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
folder_id | str |
Return type:
ScenarioSearchBuilder |
Filter the search query by a specific archived status
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
is_archived | bool |
Return type:
ScenarioSearchBuilder |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
table | Type | ||
on | Expression |
Return type:
SearchBuilderType |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
order | Ordering |
Return type:
SearchBuilderType |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
search | SearchParams |
Return type:
SearchBuilderType |
Filter the search query by a specific status
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
status | ScenarioStatus |
Return type:
ScenarioSearchBuilder |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
tag | Tag | ||
value_operator | SearchOperator | SearchOperator.EQ | |
error_if_key_not_exists | bool | False |
Return type:
SearchBuilderType |
Filter the search query where title contains the name
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
title | str |
Return type:
ScenarioSearchBuilder |
Return type:
ModelSelect |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
filter_ | SearchFilterCriteria |
Return type:
Expression |
Convert a search order criteria to a peewee ordering
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
order | SearchSortCriteria |
Return type:
Ordering |
Method to convert the search value (or values) to type of field
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
field | Field | ||
value | Any |
Return type:
Any |
Return type:
List |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
page | int | 0 | |
number_of_items_per_page | int | 20 |
Return type:
Paginator |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
orders | List |
Return type:
SearchBuilderType |