Back to bricks list
Introduction Getting Started
Architecture
Technical Documentation
Other Classes
AbstractDbManager AgentFactory AudioView AuthService BadRequestException BarPlotView Base BaseEnvShell BaseHTTPException BaseModelDTO BaseTestCase BaseTestCaseLight BashCodeParam BoolParam BoolRField BoolValidator BoxPlotView BrickMigration BrickService CheckBeforeTaskResult CommunityService Compress CondaShellProxy Config ConfigParams Connector ConnectorPartSpec ConnectorSpec ConverterRunner Credentials CredentialsDataBasic CredentialsDataLab CredentialsDataOther CredentialsDataS3 CredentialsParam CredentialsType CurrentUserService Dashboard DashboardType DataframeAggregatorHelper DataframeDataFilterHelper DataframeFilterHelper DataFrameRField DataframeScalerHelper datetime DateTimeUTC DbConfig DictRField DictValidator DispatchedMessage DynamicInputs DynamicOutputs EntityNavigator EntityNavigatorNote EntityNavigatorResource EntityNavigatorScenario EntityNavigatorService EntityNavigatorView EntityTag EntityType Enum ExceptionHandler ExceptionResponse ExpressionBuilder ExternalApiService ExternalSpaceCreateFolder FileDownloader FileHelper FileRField FloatParam FloatRField FloatValidator ForbiddenException FrontService FrontTheme FSNodeModel FsNodeService GwsCorePackages GWSException GzipCompress HeatmapView HistogramView ImageView InPort Inputs InputSpec InputSpecs InterfaceSpec IntParam IntRField IntValidator IO IOface Job JsonCodeParam JSONField JSONView JuliaCodeParam KVStore LazyViewParam LinePlot2DView ListParam ListRField ListValidator Logger LoggerMessageObserver MailService MambaShellProxy MessageDispatcher MessageLevel MessageObserver Model ModelRfield ModelService Monitor MonitorService MultiViews NetworkView Note Notebook NoteParam NoteSearchBuilder NoteService NoteTemplate NoteTemplateParam NoteTemplateService NotFoundException NumericHelper NumericParam NumericValidator OpenAiChat OpenAiChatMessage OpenAiChatParam OpenAiHelper OutPort Outputs OutputSpec OutputSpecs PackageHelper Paginator ParamSet ParamSpec PerlCodeParam PipShellProxy PlotlyRField PlotlyView PoolDb Port PrimitiveRField Process ProcessFactory ProcessModel ProcessProxy ProcessSpec ProgressBar ProgressBarMessageObserver ProgressBarService ProtocolModel ProtocolProxy ProtocolService ProtocolTyping PythonCodeParam Queue QueueService RCodeParam Requests ResourceDownloaderBase ResourceModel ResourceOrigin ResourceRField ResourceSearchBuilder ResourceService ResourceTransfertService ResourceTyping RField RichText RichTextBlock RichTextBlockModificationDTO RichTextBlockModificationWithUserDTO RichTextBlockType RichTextDTO RichTextFigureData RichTextFileData RichTextFormulaData RichTextListData RichTextListItem RichTextModificationDifferenceDTO RichTextModificationsDTO RichTextModificationType RichTextNoteResourceViewData RichTextObjectType RichTextParagraphData RichTextParagraphHeaderData RichTextParagraphHeaderLevel RichTextParagraphListData RichTextParagraphListItemData RichTextParagraphText RichTextResourceViewData RichTextTimestampData RichTextUserDTO RichTextVariableData RichTextView RichTextViewFileData S3Bucket ScatterPlot2DView Scenario ScenarioCreationType ScenarioProcessStatus ScenarioProxy ScenarioRunService ScenarioSaveDTO ScenarioSearchBuilder ScenarioService ScenarioStatus ScenarioTemplate ScenarioTemplateFactory ScenarioTransfertService SearchBuilder SerializableObjectJson SerializableRField Settings ShellProxy ShellProxyFactory SimpleTextView SpaceFolder SpaceService SqlMigrator StackedBarPlotView StreamlitApp StreamlitAppManager StreamlitProcess StringHelper StrParam StrRField StrValidator SysProc TableAnnotatorHelper TableColumnSelector TableColumnTagToRowExtractor TableColumnTagUnfolder TableConcatHelper TableHeaderInfo TableOperationHelper TableRowSelector TableRowTagToColumnExtractor TableRowTagUnfolder TableScalerHelper TableTagAggregatorHelper TableUnfolderHelper TableView TabularView Tag TagHelper TagKeyModel TagList TagService TagsParam TagValueModel TarCompress TarGzCompress TaskFileDownloader TaskHelper TaskInputs TaskModel TaskProxy TaskRunner TaskService TaskTyping TechnicalInfo TextParam TextView TextViewData Typing TypingDeprecated TypingIconColor TypingIconType TypingManager TypingStyle UnauthorizedException URLValidator User UserCredentialsDTO UserGroup UserService Utils UUIDRField Validator VennDiagramView Version View ViewConfig ViewTester ViewType YamlCodeParam ZipCompress
Version

ResourceSearchBuilder

Search build for the resource model

:param SearchBuilder: [description] :type SearchBuilder: [type]

Attributes
entity_type: EntityType
Functions
__INIT__

Create a search build to make dynamic search

ADD_EXPRESSION
Parameters:
NameTypeDefault valueDescription
expressionExpression
Return type:
SearchBuilderType
ADD_FLAGGED_FILTER

Filter the search query by a specific flag

Parameters:
NameTypeDefault valueDescription
flaggedbool
Return type:
ResourceSearchBuilder
ADD_FOLDER_FILTER

Filter the search query by a specific folder

Parameters:
NameTypeDefault valueDescription
folder_idstr
Return type:
ResourceSearchBuilder
ADD_FS_NODE_EXTENSION_FILTER

Filter the search query by a specific extension, it will only resturn FsNode resources

Parameters:
NameTypeDefault valueDescription
extensionstr
Return type:
ResourceSearchBuilder
ADD_IS_ARCHIVED_FILTER

Filter the search query by a specific archived status

Parameters:
NameTypeDefault valueDescription
is_archivedbool
Return type:
ResourceSearchBuilder
ADD_JOIN
Parameters:
NameTypeDefault valueDescription
tableType
onExpression
Return type:
SearchBuilderType
ADD_NAME_FILTER

Filter the search query by a specific name

Parameters:
NameTypeDefault valueDescription
namestr
Return type:
ResourceSearchBuilder
ADD_ORDERING
Parameters:
NameTypeDefault valueDescription
orderOrdering
Return type:
SearchBuilderType
ADD_ORIGIN_FILTER

Filter the search query by a specific origin

Parameters:
NameTypeDefault valueDescription
originResourceOrigin
Return type:
ResourceSearchBuilder
ADD_PARENT_FILTER

Filter the search query by a specific parent

Parameters:
NameTypeDefault valueDescription
parent_idstr
Return type:
ResourceSearchBuilder
ADD_RESOURCE_TYPE_AND_SUB_TYPES_FILTER

Filter the search query by a specific resource type and its subtypes

Parameters:
NameTypeDefault valueDescription
resource_typeType
Return type:
ResourceSearchBuilder
ADD_RESOURCE_TYPE_FILTER

Filter the search query by a specific resource type

Parameters:
NameTypeDefault valueDescription
resource_typeType
Return type:
ResourceSearchBuilder
ADD_RESOURCE_TYPES_AND_SUB_TYPES_FILTER

Filter the search query by resource types and its subtypes

Parameters:
NameTypeDefault valueDescription
resource_typesList
Return type:
ResourceSearchBuilder
ADD_RESOURCE_TYPES_FILTER

Filter the search query by a specific resource type

Parameters:
NameTypeDefault valueDescription
resource_typesList
Return type:
ResourceSearchBuilder
ADD_RESOURCE_TYPING_NAME_FILTER

Filter the search query by a specific resource typing name

Parameters:
NameTypeDefault valueDescription
resource_typing_namestr
Return type:
ResourceSearchBuilder
ADD_RESOURCE_TYPING_NAMES_AND_SUB_TYPES_FILTER

Filter the search query by resource types and its subtypes

Parameters:
NameTypeDefault valueDescription
resource_typing_namesList
Return type:
ResourceSearchBuilder
ADD_SEARCH_PARAMS
Parameters:
NameTypeDefault valueDescription
searchSearchParams
Return type:
SearchBuilderType
ADD_TAG_FILTER
Parameters:
NameTypeDefault valueDescription
tagTag
value_operatorSearchOperator SearchOperator.EQ
error_if_key_not_existsbool False
Return type:
SearchBuilderType
CONVERT_FILTER_TO_EXPRESSION
Parameters:
NameTypeDefault valueDescription
filter_SearchFilterCriteria
Return type:
Expression
CONVERT_ORDER_TO_PEEWEE_ORDERING

Convert a search order criteria to a peewee ordering

Parameters:
NameTypeDefault valueDescription
orderSearchSortCriteria
Return type:
Ordering
CONVERT_VALUE

Method to convert the search value (or values) to type of field

Parameters:
NameTypeDefault valueDescription
fieldField
valueAny
Return type:
Any
SEARCH_ALL
Return type:
List
SEARCH_PAGE
Parameters:
NameTypeDefault valueDescription
pageint 0
number_of_items_per_pageint 20
Return type:
Paginator
SET_ORDERING
Parameters:
NameTypeDefault valueDescription
ordersList
Return type:
SearchBuilderType