nominal-api 0.910.0__py3-none-any.whl → 0.911.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of nominal-api might be problematic. Click here for more details.
- nominal_api/__init__.py +1 -1
- nominal_api/_impl.py +476 -95
- nominal_api/scout_asset_api/__init__.py +2 -0
- nominal_api/scout_notebook_api/__init__.py +6 -0
- nominal_api/scout_rids_api/__init__.py +4 -0
- nominal_api/scout_run_api/__init__.py +0 -4
- {nominal_api-0.910.0.dist-info → nominal_api-0.911.0.dist-info}/METADATA +1 -1
- {nominal_api-0.910.0.dist-info → nominal_api-0.911.0.dist-info}/RECORD +10 -10
- {nominal_api-0.910.0.dist-info → nominal_api-0.911.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.910.0.dist-info → nominal_api-0.911.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -21586,6 +21586,31 @@ scout_asset_api_AssetTypeDataScopeConfig.__qualname__ = "AssetTypeDataScopeConfi
|
|
|
21586
21586
|
scout_asset_api_AssetTypeDataScopeConfig.__module__ = "nominal_api.scout_asset_api"
|
|
21587
21587
|
|
|
21588
21588
|
|
|
21589
|
+
class scout_asset_api_AssetTypesFilter(ConjureBeanType):
|
|
21590
|
+
"""returns runs that match any of the provided assetTypes.
|
|
21591
|
+
"""
|
|
21592
|
+
|
|
21593
|
+
@builtins.classmethod
|
|
21594
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
21595
|
+
return {
|
|
21596
|
+
'asset_types': ConjureFieldDefinition('assetTypes', List[scout_rids_api_TypeRid])
|
|
21597
|
+
}
|
|
21598
|
+
|
|
21599
|
+
__slots__: List[str] = ['_asset_types']
|
|
21600
|
+
|
|
21601
|
+
def __init__(self, asset_types: List[str]) -> None:
|
|
21602
|
+
self._asset_types = asset_types
|
|
21603
|
+
|
|
21604
|
+
@builtins.property
|
|
21605
|
+
def asset_types(self) -> List[str]:
|
|
21606
|
+
return self._asset_types
|
|
21607
|
+
|
|
21608
|
+
|
|
21609
|
+
scout_asset_api_AssetTypesFilter.__name__ = "AssetTypesFilter"
|
|
21610
|
+
scout_asset_api_AssetTypesFilter.__qualname__ = "AssetTypesFilter"
|
|
21611
|
+
scout_asset_api_AssetTypesFilter.__module__ = "nominal_api.scout_asset_api"
|
|
21612
|
+
|
|
21613
|
+
|
|
21589
21614
|
class scout_asset_api_ChannelMetadata(ConjureBeanType):
|
|
21590
21615
|
|
|
21591
21616
|
@builtins.classmethod
|
|
@@ -21994,11 +22019,15 @@ class scout_asset_api_SearchAssetsQuery(ConjureUnionType):
|
|
|
21994
22019
|
_search_text: Optional[str] = None
|
|
21995
22020
|
_exact_substring: Optional[str] = None
|
|
21996
22021
|
_label: Optional[str] = None
|
|
22022
|
+
_labels: Optional["scout_rids_api_LabelsFilter"] = None
|
|
21997
22023
|
_property: Optional["api_Property"] = None
|
|
22024
|
+
_properties: Optional["scout_rids_api_PropertiesFilter"] = None
|
|
21998
22025
|
_type_rid: Optional[str] = None
|
|
22026
|
+
_asset_types: Optional["scout_asset_api_AssetTypesFilter"] = None
|
|
22027
|
+
_is_staged: Optional[bool] = None
|
|
22028
|
+
_archived: Optional[bool] = None
|
|
21999
22029
|
_and_: Optional[List["scout_asset_api_SearchAssetsQuery"]] = None
|
|
22000
22030
|
_or_: Optional[List["scout_asset_api_SearchAssetsQuery"]] = None
|
|
22001
|
-
_is_staged: Optional[bool] = None
|
|
22002
22031
|
_workspace: Optional[str] = None
|
|
22003
22032
|
|
|
22004
22033
|
@builtins.classmethod
|
|
@@ -22007,11 +22036,15 @@ class scout_asset_api_SearchAssetsQuery(ConjureUnionType):
|
|
|
22007
22036
|
'search_text': ConjureFieldDefinition('searchText', str),
|
|
22008
22037
|
'exact_substring': ConjureFieldDefinition('exactSubstring', str),
|
|
22009
22038
|
'label': ConjureFieldDefinition('label', api_Label),
|
|
22039
|
+
'labels': ConjureFieldDefinition('labels', scout_rids_api_LabelsFilter),
|
|
22010
22040
|
'property': ConjureFieldDefinition('property', api_Property),
|
|
22041
|
+
'properties': ConjureFieldDefinition('properties', scout_rids_api_PropertiesFilter),
|
|
22011
22042
|
'type_rid': ConjureFieldDefinition('typeRid', scout_rids_api_TypeRid),
|
|
22043
|
+
'asset_types': ConjureFieldDefinition('assetTypes', scout_asset_api_AssetTypesFilter),
|
|
22044
|
+
'is_staged': ConjureFieldDefinition('isStaged', bool),
|
|
22045
|
+
'archived': ConjureFieldDefinition('archived', bool),
|
|
22012
22046
|
'and_': ConjureFieldDefinition('and', List[scout_asset_api_SearchAssetsQuery]),
|
|
22013
22047
|
'or_': ConjureFieldDefinition('or', List[scout_asset_api_SearchAssetsQuery]),
|
|
22014
|
-
'is_staged': ConjureFieldDefinition('isStaged', bool),
|
|
22015
22048
|
'workspace': ConjureFieldDefinition('workspace', api_rids_WorkspaceRid)
|
|
22016
22049
|
}
|
|
22017
22050
|
|
|
@@ -22020,16 +22053,20 @@ class scout_asset_api_SearchAssetsQuery(ConjureUnionType):
|
|
|
22020
22053
|
search_text: Optional[str] = None,
|
|
22021
22054
|
exact_substring: Optional[str] = None,
|
|
22022
22055
|
label: Optional[str] = None,
|
|
22056
|
+
labels: Optional["scout_rids_api_LabelsFilter"] = None,
|
|
22023
22057
|
property: Optional["api_Property"] = None,
|
|
22058
|
+
properties: Optional["scout_rids_api_PropertiesFilter"] = None,
|
|
22024
22059
|
type_rid: Optional[str] = None,
|
|
22060
|
+
asset_types: Optional["scout_asset_api_AssetTypesFilter"] = None,
|
|
22061
|
+
is_staged: Optional[bool] = None,
|
|
22062
|
+
archived: Optional[bool] = None,
|
|
22025
22063
|
and_: Optional[List["scout_asset_api_SearchAssetsQuery"]] = None,
|
|
22026
22064
|
or_: Optional[List["scout_asset_api_SearchAssetsQuery"]] = None,
|
|
22027
|
-
is_staged: Optional[bool] = None,
|
|
22028
22065
|
workspace: Optional[str] = None,
|
|
22029
22066
|
type_of_union: Optional[str] = None
|
|
22030
22067
|
) -> None:
|
|
22031
22068
|
if type_of_union is None:
|
|
22032
|
-
if (search_text is not None) + (exact_substring is not None) + (label is not None) + (property is not None) + (
|
|
22069
|
+
if (search_text is not None) + (exact_substring is not None) + (label is not None) + (labels is not None) + (property is not None) + (properties is not None) + (type_rid is not None) + (asset_types is not None) + (is_staged is not None) + (archived is not None) + (and_ is not None) + (or_ is not None) + (workspace is not None) != 1:
|
|
22033
22070
|
raise ValueError('a union must contain a single member')
|
|
22034
22071
|
|
|
22035
22072
|
if search_text is not None:
|
|
@@ -22041,21 +22078,33 @@ class scout_asset_api_SearchAssetsQuery(ConjureUnionType):
|
|
|
22041
22078
|
if label is not None:
|
|
22042
22079
|
self._label = label
|
|
22043
22080
|
self._type = 'label'
|
|
22081
|
+
if labels is not None:
|
|
22082
|
+
self._labels = labels
|
|
22083
|
+
self._type = 'labels'
|
|
22044
22084
|
if property is not None:
|
|
22045
22085
|
self._property = property
|
|
22046
22086
|
self._type = 'property'
|
|
22087
|
+
if properties is not None:
|
|
22088
|
+
self._properties = properties
|
|
22089
|
+
self._type = 'properties'
|
|
22047
22090
|
if type_rid is not None:
|
|
22048
22091
|
self._type_rid = type_rid
|
|
22049
22092
|
self._type = 'typeRid'
|
|
22093
|
+
if asset_types is not None:
|
|
22094
|
+
self._asset_types = asset_types
|
|
22095
|
+
self._type = 'assetTypes'
|
|
22096
|
+
if is_staged is not None:
|
|
22097
|
+
self._is_staged = is_staged
|
|
22098
|
+
self._type = 'isStaged'
|
|
22099
|
+
if archived is not None:
|
|
22100
|
+
self._archived = archived
|
|
22101
|
+
self._type = 'archived'
|
|
22050
22102
|
if and_ is not None:
|
|
22051
22103
|
self._and_ = and_
|
|
22052
22104
|
self._type = 'and'
|
|
22053
22105
|
if or_ is not None:
|
|
22054
22106
|
self._or_ = or_
|
|
22055
22107
|
self._type = 'or'
|
|
22056
|
-
if is_staged is not None:
|
|
22057
|
-
self._is_staged = is_staged
|
|
22058
|
-
self._type = 'isStaged'
|
|
22059
22108
|
if workspace is not None:
|
|
22060
22109
|
self._workspace = workspace
|
|
22061
22110
|
self._type = 'workspace'
|
|
@@ -22075,16 +22124,41 @@ class scout_asset_api_SearchAssetsQuery(ConjureUnionType):
|
|
|
22075
22124
|
raise ValueError('a union value must not be None')
|
|
22076
22125
|
self._label = label
|
|
22077
22126
|
self._type = 'label'
|
|
22127
|
+
elif type_of_union == 'labels':
|
|
22128
|
+
if labels is None:
|
|
22129
|
+
raise ValueError('a union value must not be None')
|
|
22130
|
+
self._labels = labels
|
|
22131
|
+
self._type = 'labels'
|
|
22078
22132
|
elif type_of_union == 'property':
|
|
22079
22133
|
if property is None:
|
|
22080
22134
|
raise ValueError('a union value must not be None')
|
|
22081
22135
|
self._property = property
|
|
22082
22136
|
self._type = 'property'
|
|
22137
|
+
elif type_of_union == 'properties':
|
|
22138
|
+
if properties is None:
|
|
22139
|
+
raise ValueError('a union value must not be None')
|
|
22140
|
+
self._properties = properties
|
|
22141
|
+
self._type = 'properties'
|
|
22083
22142
|
elif type_of_union == 'typeRid':
|
|
22084
22143
|
if type_rid is None:
|
|
22085
22144
|
raise ValueError('a union value must not be None')
|
|
22086
22145
|
self._type_rid = type_rid
|
|
22087
22146
|
self._type = 'typeRid'
|
|
22147
|
+
elif type_of_union == 'assetTypes':
|
|
22148
|
+
if asset_types is None:
|
|
22149
|
+
raise ValueError('a union value must not be None')
|
|
22150
|
+
self._asset_types = asset_types
|
|
22151
|
+
self._type = 'assetTypes'
|
|
22152
|
+
elif type_of_union == 'isStaged':
|
|
22153
|
+
if is_staged is None:
|
|
22154
|
+
raise ValueError('a union value must not be None')
|
|
22155
|
+
self._is_staged = is_staged
|
|
22156
|
+
self._type = 'isStaged'
|
|
22157
|
+
elif type_of_union == 'archived':
|
|
22158
|
+
if archived is None:
|
|
22159
|
+
raise ValueError('a union value must not be None')
|
|
22160
|
+
self._archived = archived
|
|
22161
|
+
self._type = 'archived'
|
|
22088
22162
|
elif type_of_union == 'and':
|
|
22089
22163
|
if and_ is None:
|
|
22090
22164
|
raise ValueError('a union value must not be None')
|
|
@@ -22095,11 +22169,6 @@ class scout_asset_api_SearchAssetsQuery(ConjureUnionType):
|
|
|
22095
22169
|
raise ValueError('a union value must not be None')
|
|
22096
22170
|
self._or_ = or_
|
|
22097
22171
|
self._type = 'or'
|
|
22098
|
-
elif type_of_union == 'isStaged':
|
|
22099
|
-
if is_staged is None:
|
|
22100
|
-
raise ValueError('a union value must not be None')
|
|
22101
|
-
self._is_staged = is_staged
|
|
22102
|
-
self._type = 'isStaged'
|
|
22103
22172
|
elif type_of_union == 'workspace':
|
|
22104
22173
|
if workspace is None:
|
|
22105
22174
|
raise ValueError('a union value must not be None')
|
|
@@ -22120,14 +22189,34 @@ class scout_asset_api_SearchAssetsQuery(ConjureUnionType):
|
|
|
22120
22189
|
def label(self) -> Optional[str]:
|
|
22121
22190
|
return self._label
|
|
22122
22191
|
|
|
22192
|
+
@builtins.property
|
|
22193
|
+
def labels(self) -> Optional["scout_rids_api_LabelsFilter"]:
|
|
22194
|
+
return self._labels
|
|
22195
|
+
|
|
22123
22196
|
@builtins.property
|
|
22124
22197
|
def property(self) -> Optional["api_Property"]:
|
|
22125
22198
|
return self._property
|
|
22126
22199
|
|
|
22200
|
+
@builtins.property
|
|
22201
|
+
def properties(self) -> Optional["scout_rids_api_PropertiesFilter"]:
|
|
22202
|
+
return self._properties
|
|
22203
|
+
|
|
22127
22204
|
@builtins.property
|
|
22128
22205
|
def type_rid(self) -> Optional[str]:
|
|
22129
22206
|
return self._type_rid
|
|
22130
22207
|
|
|
22208
|
+
@builtins.property
|
|
22209
|
+
def asset_types(self) -> Optional["scout_asset_api_AssetTypesFilter"]:
|
|
22210
|
+
return self._asset_types
|
|
22211
|
+
|
|
22212
|
+
@builtins.property
|
|
22213
|
+
def is_staged(self) -> Optional[bool]:
|
|
22214
|
+
return self._is_staged
|
|
22215
|
+
|
|
22216
|
+
@builtins.property
|
|
22217
|
+
def archived(self) -> Optional[bool]:
|
|
22218
|
+
return self._archived
|
|
22219
|
+
|
|
22131
22220
|
@builtins.property
|
|
22132
22221
|
def and_(self) -> Optional[List["scout_asset_api_SearchAssetsQuery"]]:
|
|
22133
22222
|
return self._and_
|
|
@@ -22136,10 +22225,6 @@ class scout_asset_api_SearchAssetsQuery(ConjureUnionType):
|
|
|
22136
22225
|
def or_(self) -> Optional[List["scout_asset_api_SearchAssetsQuery"]]:
|
|
22137
22226
|
return self._or_
|
|
22138
22227
|
|
|
22139
|
-
@builtins.property
|
|
22140
|
-
def is_staged(self) -> Optional[bool]:
|
|
22141
|
-
return self._is_staged
|
|
22142
|
-
|
|
22143
22228
|
@builtins.property
|
|
22144
22229
|
def workspace(self) -> Optional[str]:
|
|
22145
22230
|
return self._workspace
|
|
@@ -22153,16 +22238,24 @@ class scout_asset_api_SearchAssetsQuery(ConjureUnionType):
|
|
|
22153
22238
|
return visitor._exact_substring(self.exact_substring)
|
|
22154
22239
|
if self._type == 'label' and self.label is not None:
|
|
22155
22240
|
return visitor._label(self.label)
|
|
22241
|
+
if self._type == 'labels' and self.labels is not None:
|
|
22242
|
+
return visitor._labels(self.labels)
|
|
22156
22243
|
if self._type == 'property' and self.property is not None:
|
|
22157
22244
|
return visitor._property(self.property)
|
|
22245
|
+
if self._type == 'properties' and self.properties is not None:
|
|
22246
|
+
return visitor._properties(self.properties)
|
|
22158
22247
|
if self._type == 'typeRid' and self.type_rid is not None:
|
|
22159
22248
|
return visitor._type_rid(self.type_rid)
|
|
22249
|
+
if self._type == 'assetTypes' and self.asset_types is not None:
|
|
22250
|
+
return visitor._asset_types(self.asset_types)
|
|
22251
|
+
if self._type == 'isStaged' and self.is_staged is not None:
|
|
22252
|
+
return visitor._is_staged(self.is_staged)
|
|
22253
|
+
if self._type == 'archived' and self.archived is not None:
|
|
22254
|
+
return visitor._archived(self.archived)
|
|
22160
22255
|
if self._type == 'and' and self.and_ is not None:
|
|
22161
22256
|
return visitor._and(self.and_)
|
|
22162
22257
|
if self._type == 'or' and self.or_ is not None:
|
|
22163
22258
|
return visitor._or(self.or_)
|
|
22164
|
-
if self._type == 'isStaged' and self.is_staged is not None:
|
|
22165
|
-
return visitor._is_staged(self.is_staged)
|
|
22166
22259
|
if self._type == 'workspace' and self.workspace is not None:
|
|
22167
22260
|
return visitor._workspace(self.workspace)
|
|
22168
22261
|
|
|
@@ -22186,26 +22279,42 @@ class scout_asset_api_SearchAssetsQueryVisitor:
|
|
|
22186
22279
|
def _label(self, label: str) -> Any:
|
|
22187
22280
|
pass
|
|
22188
22281
|
|
|
22282
|
+
@abstractmethod
|
|
22283
|
+
def _labels(self, labels: "scout_rids_api_LabelsFilter") -> Any:
|
|
22284
|
+
pass
|
|
22285
|
+
|
|
22189
22286
|
@abstractmethod
|
|
22190
22287
|
def _property(self, property: "api_Property") -> Any:
|
|
22191
22288
|
pass
|
|
22192
22289
|
|
|
22193
22290
|
@abstractmethod
|
|
22194
|
-
def
|
|
22291
|
+
def _properties(self, properties: "scout_rids_api_PropertiesFilter") -> Any:
|
|
22195
22292
|
pass
|
|
22196
22293
|
|
|
22197
22294
|
@abstractmethod
|
|
22198
|
-
def
|
|
22295
|
+
def _type_rid(self, type_rid: str) -> Any:
|
|
22199
22296
|
pass
|
|
22200
22297
|
|
|
22201
22298
|
@abstractmethod
|
|
22202
|
-
def
|
|
22299
|
+
def _asset_types(self, asset_types: "scout_asset_api_AssetTypesFilter") -> Any:
|
|
22203
22300
|
pass
|
|
22204
22301
|
|
|
22205
22302
|
@abstractmethod
|
|
22206
22303
|
def _is_staged(self, is_staged: bool) -> Any:
|
|
22207
22304
|
pass
|
|
22208
22305
|
|
|
22306
|
+
@abstractmethod
|
|
22307
|
+
def _archived(self, archived: bool) -> Any:
|
|
22308
|
+
pass
|
|
22309
|
+
|
|
22310
|
+
@abstractmethod
|
|
22311
|
+
def _and(self, and_: List["scout_asset_api_SearchAssetsQuery"]) -> Any:
|
|
22312
|
+
pass
|
|
22313
|
+
|
|
22314
|
+
@abstractmethod
|
|
22315
|
+
def _or(self, or_: List["scout_asset_api_SearchAssetsQuery"]) -> Any:
|
|
22316
|
+
pass
|
|
22317
|
+
|
|
22209
22318
|
@abstractmethod
|
|
22210
22319
|
def _workspace(self, workspace: str) -> Any:
|
|
22211
22320
|
pass
|
|
@@ -22498,8 +22607,6 @@ class scout_asset_api_SearchTypesRequest(ConjureBeanType):
|
|
|
22498
22607
|
|
|
22499
22608
|
@builtins.property
|
|
22500
22609
|
def archived_statuses(self) -> Optional[List["api_ArchivedStatus"]]:
|
|
22501
|
-
"""Default search status is NOT_ARCHIVED if none are provided. Allows for including archived assets in search.
|
|
22502
|
-
"""
|
|
22503
22610
|
return self._archived_statuses
|
|
22504
22611
|
|
|
22505
22612
|
|
|
@@ -35470,7 +35577,9 @@ class scout_checks_api_ChecklistSearchQuery(ConjureUnionType):
|
|
|
35470
35577
|
_or_: Optional[List["scout_checks_api_ChecklistSearchQuery"]] = None
|
|
35471
35578
|
_search_text: Optional[str] = None
|
|
35472
35579
|
_label: Optional[str] = None
|
|
35580
|
+
_labels: Optional["scout_rids_api_LabelsFilter"] = None
|
|
35473
35581
|
_property: Optional["api_Property"] = None
|
|
35582
|
+
_properties: Optional["scout_rids_api_PropertiesFilter"] = None
|
|
35474
35583
|
_author_rid: Optional[str] = None
|
|
35475
35584
|
_assignee_rid: Optional[str] = None
|
|
35476
35585
|
_is_published: Optional[bool] = None
|
|
@@ -35486,7 +35595,9 @@ class scout_checks_api_ChecklistSearchQuery(ConjureUnionType):
|
|
|
35486
35595
|
'or_': ConjureFieldDefinition('or', List[scout_checks_api_ChecklistSearchQuery]),
|
|
35487
35596
|
'search_text': ConjureFieldDefinition('searchText', str),
|
|
35488
35597
|
'label': ConjureFieldDefinition('label', api_Label),
|
|
35598
|
+
'labels': ConjureFieldDefinition('labels', scout_rids_api_LabelsFilter),
|
|
35489
35599
|
'property': ConjureFieldDefinition('property', api_Property),
|
|
35600
|
+
'properties': ConjureFieldDefinition('properties', scout_rids_api_PropertiesFilter),
|
|
35490
35601
|
'author_rid': ConjureFieldDefinition('authorRid', scout_rids_api_UserRid),
|
|
35491
35602
|
'assignee_rid': ConjureFieldDefinition('assigneeRid', scout_rids_api_UserRid),
|
|
35492
35603
|
'is_published': ConjureFieldDefinition('isPublished', bool),
|
|
@@ -35502,7 +35613,9 @@ class scout_checks_api_ChecklistSearchQuery(ConjureUnionType):
|
|
|
35502
35613
|
or_: Optional[List["scout_checks_api_ChecklistSearchQuery"]] = None,
|
|
35503
35614
|
search_text: Optional[str] = None,
|
|
35504
35615
|
label: Optional[str] = None,
|
|
35616
|
+
labels: Optional["scout_rids_api_LabelsFilter"] = None,
|
|
35505
35617
|
property: Optional["api_Property"] = None,
|
|
35618
|
+
properties: Optional["scout_rids_api_PropertiesFilter"] = None,
|
|
35506
35619
|
author_rid: Optional[str] = None,
|
|
35507
35620
|
assignee_rid: Optional[str] = None,
|
|
35508
35621
|
is_published: Optional[bool] = None,
|
|
@@ -35513,7 +35626,7 @@ class scout_checks_api_ChecklistSearchQuery(ConjureUnionType):
|
|
|
35513
35626
|
type_of_union: Optional[str] = None
|
|
35514
35627
|
) -> None:
|
|
35515
35628
|
if type_of_union is None:
|
|
35516
|
-
if (and_ is not None) + (or_ is not None) + (search_text is not None) + (label is not None) + (property is not None) + (author_rid is not None) + (assignee_rid is not None) + (is_published is not None) + (not_ is not None) + (workspace is not None) + (author_is_current_user is not None) + (author_rids is not None) != 1:
|
|
35629
|
+
if (and_ is not None) + (or_ is not None) + (search_text is not None) + (label is not None) + (labels is not None) + (property is not None) + (properties is not None) + (author_rid is not None) + (assignee_rid is not None) + (is_published is not None) + (not_ is not None) + (workspace is not None) + (author_is_current_user is not None) + (author_rids is not None) != 1:
|
|
35517
35630
|
raise ValueError('a union must contain a single member')
|
|
35518
35631
|
|
|
35519
35632
|
if and_ is not None:
|
|
@@ -35528,9 +35641,15 @@ class scout_checks_api_ChecklistSearchQuery(ConjureUnionType):
|
|
|
35528
35641
|
if label is not None:
|
|
35529
35642
|
self._label = label
|
|
35530
35643
|
self._type = 'label'
|
|
35644
|
+
if labels is not None:
|
|
35645
|
+
self._labels = labels
|
|
35646
|
+
self._type = 'labels'
|
|
35531
35647
|
if property is not None:
|
|
35532
35648
|
self._property = property
|
|
35533
35649
|
self._type = 'property'
|
|
35650
|
+
if properties is not None:
|
|
35651
|
+
self._properties = properties
|
|
35652
|
+
self._type = 'properties'
|
|
35534
35653
|
if author_rid is not None:
|
|
35535
35654
|
self._author_rid = author_rid
|
|
35536
35655
|
self._type = 'authorRid'
|
|
@@ -35573,11 +35692,21 @@ class scout_checks_api_ChecklistSearchQuery(ConjureUnionType):
|
|
|
35573
35692
|
raise ValueError('a union value must not be None')
|
|
35574
35693
|
self._label = label
|
|
35575
35694
|
self._type = 'label'
|
|
35695
|
+
elif type_of_union == 'labels':
|
|
35696
|
+
if labels is None:
|
|
35697
|
+
raise ValueError('a union value must not be None')
|
|
35698
|
+
self._labels = labels
|
|
35699
|
+
self._type = 'labels'
|
|
35576
35700
|
elif type_of_union == 'property':
|
|
35577
35701
|
if property is None:
|
|
35578
35702
|
raise ValueError('a union value must not be None')
|
|
35579
35703
|
self._property = property
|
|
35580
35704
|
self._type = 'property'
|
|
35705
|
+
elif type_of_union == 'properties':
|
|
35706
|
+
if properties is None:
|
|
35707
|
+
raise ValueError('a union value must not be None')
|
|
35708
|
+
self._properties = properties
|
|
35709
|
+
self._type = 'properties'
|
|
35581
35710
|
elif type_of_union == 'authorRid':
|
|
35582
35711
|
if author_rid is None:
|
|
35583
35712
|
raise ValueError('a union value must not be None')
|
|
@@ -35630,10 +35759,18 @@ class scout_checks_api_ChecklistSearchQuery(ConjureUnionType):
|
|
|
35630
35759
|
def label(self) -> Optional[str]:
|
|
35631
35760
|
return self._label
|
|
35632
35761
|
|
|
35762
|
+
@builtins.property
|
|
35763
|
+
def labels(self) -> Optional["scout_rids_api_LabelsFilter"]:
|
|
35764
|
+
return self._labels
|
|
35765
|
+
|
|
35633
35766
|
@builtins.property
|
|
35634
35767
|
def property(self) -> Optional["api_Property"]:
|
|
35635
35768
|
return self._property
|
|
35636
35769
|
|
|
35770
|
+
@builtins.property
|
|
35771
|
+
def properties(self) -> Optional["scout_rids_api_PropertiesFilter"]:
|
|
35772
|
+
return self._properties
|
|
35773
|
+
|
|
35637
35774
|
@builtins.property
|
|
35638
35775
|
def author_rid(self) -> Optional[str]:
|
|
35639
35776
|
return self._author_rid
|
|
@@ -35673,8 +35810,12 @@ class scout_checks_api_ChecklistSearchQuery(ConjureUnionType):
|
|
|
35673
35810
|
return visitor._search_text(self.search_text)
|
|
35674
35811
|
if self._type == 'label' and self.label is not None:
|
|
35675
35812
|
return visitor._label(self.label)
|
|
35813
|
+
if self._type == 'labels' and self.labels is not None:
|
|
35814
|
+
return visitor._labels(self.labels)
|
|
35676
35815
|
if self._type == 'property' and self.property is not None:
|
|
35677
35816
|
return visitor._property(self.property)
|
|
35817
|
+
if self._type == 'properties' and self.properties is not None:
|
|
35818
|
+
return visitor._properties(self.properties)
|
|
35678
35819
|
if self._type == 'authorRid' and self.author_rid is not None:
|
|
35679
35820
|
return visitor._author_rid(self.author_rid)
|
|
35680
35821
|
if self._type == 'assigneeRid' and self.assignee_rid is not None:
|
|
@@ -35714,10 +35855,18 @@ class scout_checks_api_ChecklistSearchQueryVisitor:
|
|
|
35714
35855
|
def _label(self, label: str) -> Any:
|
|
35715
35856
|
pass
|
|
35716
35857
|
|
|
35858
|
+
@abstractmethod
|
|
35859
|
+
def _labels(self, labels: "scout_rids_api_LabelsFilter") -> Any:
|
|
35860
|
+
pass
|
|
35861
|
+
|
|
35717
35862
|
@abstractmethod
|
|
35718
35863
|
def _property(self, property: "api_Property") -> Any:
|
|
35719
35864
|
pass
|
|
35720
35865
|
|
|
35866
|
+
@abstractmethod
|
|
35867
|
+
def _properties(self, properties: "scout_rids_api_PropertiesFilter") -> Any:
|
|
35868
|
+
pass
|
|
35869
|
+
|
|
35721
35870
|
@abstractmethod
|
|
35722
35871
|
def _author_rid(self, author_rid: str) -> Any:
|
|
35723
35872
|
pass
|
|
@@ -76398,6 +76547,37 @@ scout_metadata_StringArrayLengthQuery.__qualname__ = "StringArrayLengthQuery"
|
|
|
76398
76547
|
scout_metadata_StringArrayLengthQuery.__module__ = "nominal_api.scout_metadata"
|
|
76399
76548
|
|
|
76400
76549
|
|
|
76550
|
+
class scout_notebook_api_AssetsFilter(ConjureBeanType):
|
|
76551
|
+
"""for an exact match, use the exactAssetRids filter
|
|
76552
|
+
"""
|
|
76553
|
+
|
|
76554
|
+
@builtins.classmethod
|
|
76555
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
76556
|
+
return {
|
|
76557
|
+
'operator': ConjureFieldDefinition('operator', api_SetOperator),
|
|
76558
|
+
'assets': ConjureFieldDefinition('assets', List[scout_rids_api_AssetRid])
|
|
76559
|
+
}
|
|
76560
|
+
|
|
76561
|
+
__slots__: List[str] = ['_operator', '_assets']
|
|
76562
|
+
|
|
76563
|
+
def __init__(self, assets: List[str], operator: "api_SetOperator") -> None:
|
|
76564
|
+
self._operator = operator
|
|
76565
|
+
self._assets = assets
|
|
76566
|
+
|
|
76567
|
+
@builtins.property
|
|
76568
|
+
def operator(self) -> "api_SetOperator":
|
|
76569
|
+
return self._operator
|
|
76570
|
+
|
|
76571
|
+
@builtins.property
|
|
76572
|
+
def assets(self) -> List[str]:
|
|
76573
|
+
return self._assets
|
|
76574
|
+
|
|
76575
|
+
|
|
76576
|
+
scout_notebook_api_AssetsFilter.__name__ = "AssetsFilter"
|
|
76577
|
+
scout_notebook_api_AssetsFilter.__qualname__ = "AssetsFilter"
|
|
76578
|
+
scout_notebook_api_AssetsFilter.__module__ = "nominal_api.scout_notebook_api"
|
|
76579
|
+
|
|
76580
|
+
|
|
76401
76581
|
class scout_notebook_api_ChartWithOverlays(ConjureBeanType):
|
|
76402
76582
|
|
|
76403
76583
|
@builtins.classmethod
|
|
@@ -76918,6 +77098,60 @@ scout_notebook_api_NotebookType.__qualname__ = "NotebookType"
|
|
|
76918
77098
|
scout_notebook_api_NotebookType.__module__ = "nominal_api.scout_notebook_api"
|
|
76919
77099
|
|
|
76920
77100
|
|
|
77101
|
+
class scout_notebook_api_NotebookTypesFilter(ConjureBeanType):
|
|
77102
|
+
"""returns notebooks that match any of the provided notebook types
|
|
77103
|
+
"""
|
|
77104
|
+
|
|
77105
|
+
@builtins.classmethod
|
|
77106
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
77107
|
+
return {
|
|
77108
|
+
'types': ConjureFieldDefinition('types', List[scout_notebook_api_NotebookType])
|
|
77109
|
+
}
|
|
77110
|
+
|
|
77111
|
+
__slots__: List[str] = ['_types']
|
|
77112
|
+
|
|
77113
|
+
def __init__(self, types: List["scout_notebook_api_NotebookType"]) -> None:
|
|
77114
|
+
self._types = types
|
|
77115
|
+
|
|
77116
|
+
@builtins.property
|
|
77117
|
+
def types(self) -> List["scout_notebook_api_NotebookType"]:
|
|
77118
|
+
return self._types
|
|
77119
|
+
|
|
77120
|
+
|
|
77121
|
+
scout_notebook_api_NotebookTypesFilter.__name__ = "NotebookTypesFilter"
|
|
77122
|
+
scout_notebook_api_NotebookTypesFilter.__qualname__ = "NotebookTypesFilter"
|
|
77123
|
+
scout_notebook_api_NotebookTypesFilter.__module__ = "nominal_api.scout_notebook_api"
|
|
77124
|
+
|
|
77125
|
+
|
|
77126
|
+
class scout_notebook_api_RunsFilter(ConjureBeanType):
|
|
77127
|
+
|
|
77128
|
+
@builtins.classmethod
|
|
77129
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
77130
|
+
return {
|
|
77131
|
+
'operator': ConjureFieldDefinition('operator', api_SetOperator),
|
|
77132
|
+
'runs': ConjureFieldDefinition('runs', List[scout_run_api_RunRid])
|
|
77133
|
+
}
|
|
77134
|
+
|
|
77135
|
+
__slots__: List[str] = ['_operator', '_runs']
|
|
77136
|
+
|
|
77137
|
+
def __init__(self, operator: "api_SetOperator", runs: List[str]) -> None:
|
|
77138
|
+
self._operator = operator
|
|
77139
|
+
self._runs = runs
|
|
77140
|
+
|
|
77141
|
+
@builtins.property
|
|
77142
|
+
def operator(self) -> "api_SetOperator":
|
|
77143
|
+
return self._operator
|
|
77144
|
+
|
|
77145
|
+
@builtins.property
|
|
77146
|
+
def runs(self) -> List[str]:
|
|
77147
|
+
return self._runs
|
|
77148
|
+
|
|
77149
|
+
|
|
77150
|
+
scout_notebook_api_RunsFilter.__name__ = "RunsFilter"
|
|
77151
|
+
scout_notebook_api_RunsFilter.__qualname__ = "RunsFilter"
|
|
77152
|
+
scout_notebook_api_RunsFilter.__module__ = "nominal_api.scout_notebook_api"
|
|
77153
|
+
|
|
77154
|
+
|
|
76921
77155
|
class scout_notebook_api_SearchNotebooksQuery(ConjureUnionType):
|
|
76922
77156
|
_and_: Optional[List["scout_notebook_api_SearchNotebooksQuery"]] = None
|
|
76923
77157
|
_or_: Optional[List["scout_notebook_api_SearchNotebooksQuery"]] = None
|
|
@@ -76925,12 +77159,17 @@ class scout_notebook_api_SearchNotebooksQuery(ConjureUnionType):
|
|
|
76925
77159
|
_exact_match: Optional[str] = None
|
|
76926
77160
|
_search_text: Optional[str] = None
|
|
76927
77161
|
_label: Optional[str] = None
|
|
77162
|
+
_labels: Optional["scout_rids_api_LabelsFilter"] = None
|
|
76928
77163
|
_property: Optional["api_Property"] = None
|
|
77164
|
+
_properties: Optional["scout_rids_api_PropertiesFilter"] = None
|
|
76929
77165
|
_asset_rid: Optional[str] = None
|
|
77166
|
+
_asset_rids: Optional["scout_notebook_api_AssetsFilter"] = None
|
|
76930
77167
|
_exact_asset_rids: Optional[List[str]] = None
|
|
76931
77168
|
_author_rid: Optional[str] = None
|
|
76932
77169
|
_run_rid: Optional[str] = None
|
|
77170
|
+
_run_rids: Optional["scout_notebook_api_RunsFilter"] = None
|
|
76933
77171
|
_notebook_type: Optional["scout_notebook_api_NotebookType"] = None
|
|
77172
|
+
_notebook_types: Optional["scout_notebook_api_NotebookTypesFilter"] = None
|
|
76934
77173
|
_draft_state: Optional[bool] = None
|
|
76935
77174
|
_archived: Optional[bool] = None
|
|
76936
77175
|
_workspace: Optional[str] = None
|
|
@@ -76946,12 +77185,17 @@ class scout_notebook_api_SearchNotebooksQuery(ConjureUnionType):
|
|
|
76946
77185
|
'exact_match': ConjureFieldDefinition('exactMatch', str),
|
|
76947
77186
|
'search_text': ConjureFieldDefinition('searchText', str),
|
|
76948
77187
|
'label': ConjureFieldDefinition('label', api_Label),
|
|
77188
|
+
'labels': ConjureFieldDefinition('labels', scout_rids_api_LabelsFilter),
|
|
76949
77189
|
'property': ConjureFieldDefinition('property', api_Property),
|
|
77190
|
+
'properties': ConjureFieldDefinition('properties', scout_rids_api_PropertiesFilter),
|
|
76950
77191
|
'asset_rid': ConjureFieldDefinition('assetRid', scout_rids_api_AssetRid),
|
|
77192
|
+
'asset_rids': ConjureFieldDefinition('assetRids', scout_notebook_api_AssetsFilter),
|
|
76951
77193
|
'exact_asset_rids': ConjureFieldDefinition('exactAssetRids', List[scout_rids_api_AssetRid]),
|
|
76952
77194
|
'author_rid': ConjureFieldDefinition('authorRid', scout_rids_api_UserRid),
|
|
76953
77195
|
'run_rid': ConjureFieldDefinition('runRid', scout_run_api_RunRid),
|
|
77196
|
+
'run_rids': ConjureFieldDefinition('runRids', scout_notebook_api_RunsFilter),
|
|
76954
77197
|
'notebook_type': ConjureFieldDefinition('notebookType', scout_notebook_api_NotebookType),
|
|
77198
|
+
'notebook_types': ConjureFieldDefinition('notebookTypes', scout_notebook_api_NotebookTypesFilter),
|
|
76955
77199
|
'draft_state': ConjureFieldDefinition('draftState', bool),
|
|
76956
77200
|
'archived': ConjureFieldDefinition('archived', bool),
|
|
76957
77201
|
'workspace': ConjureFieldDefinition('workspace', api_rids_WorkspaceRid),
|
|
@@ -76967,12 +77211,17 @@ class scout_notebook_api_SearchNotebooksQuery(ConjureUnionType):
|
|
|
76967
77211
|
exact_match: Optional[str] = None,
|
|
76968
77212
|
search_text: Optional[str] = None,
|
|
76969
77213
|
label: Optional[str] = None,
|
|
77214
|
+
labels: Optional["scout_rids_api_LabelsFilter"] = None,
|
|
76970
77215
|
property: Optional["api_Property"] = None,
|
|
77216
|
+
properties: Optional["scout_rids_api_PropertiesFilter"] = None,
|
|
76971
77217
|
asset_rid: Optional[str] = None,
|
|
77218
|
+
asset_rids: Optional["scout_notebook_api_AssetsFilter"] = None,
|
|
76972
77219
|
exact_asset_rids: Optional[List[str]] = None,
|
|
76973
77220
|
author_rid: Optional[str] = None,
|
|
76974
77221
|
run_rid: Optional[str] = None,
|
|
77222
|
+
run_rids: Optional["scout_notebook_api_RunsFilter"] = None,
|
|
76975
77223
|
notebook_type: Optional["scout_notebook_api_NotebookType"] = None,
|
|
77224
|
+
notebook_types: Optional["scout_notebook_api_NotebookTypesFilter"] = None,
|
|
76976
77225
|
draft_state: Optional[bool] = None,
|
|
76977
77226
|
archived: Optional[bool] = None,
|
|
76978
77227
|
workspace: Optional[str] = None,
|
|
@@ -76981,7 +77230,7 @@ class scout_notebook_api_SearchNotebooksQuery(ConjureUnionType):
|
|
|
76981
77230
|
type_of_union: Optional[str] = None
|
|
76982
77231
|
) -> None:
|
|
76983
77232
|
if type_of_union is None:
|
|
76984
|
-
if (and_ is not None) + (or_ is not None) + (not_ is not None) + (exact_match is not None) + (search_text is not None) + (label is not None) + (property is not None) + (asset_rid is not None) + (exact_asset_rids is not None) + (author_rid is not None) + (run_rid is not None) + (notebook_type is not None) + (draft_state is not None) + (archived is not None) + (workspace is not None) + (author_is_current_user is not None) + (author_rids is not None) != 1:
|
|
77233
|
+
if (and_ is not None) + (or_ is not None) + (not_ is not None) + (exact_match is not None) + (search_text is not None) + (label is not None) + (labels is not None) + (property is not None) + (properties is not None) + (asset_rid is not None) + (asset_rids is not None) + (exact_asset_rids is not None) + (author_rid is not None) + (run_rid is not None) + (run_rids is not None) + (notebook_type is not None) + (notebook_types is not None) + (draft_state is not None) + (archived is not None) + (workspace is not None) + (author_is_current_user is not None) + (author_rids is not None) != 1:
|
|
76985
77234
|
raise ValueError('a union must contain a single member')
|
|
76986
77235
|
|
|
76987
77236
|
if and_ is not None:
|
|
@@ -77002,12 +77251,21 @@ class scout_notebook_api_SearchNotebooksQuery(ConjureUnionType):
|
|
|
77002
77251
|
if label is not None:
|
|
77003
77252
|
self._label = label
|
|
77004
77253
|
self._type = 'label'
|
|
77254
|
+
if labels is not None:
|
|
77255
|
+
self._labels = labels
|
|
77256
|
+
self._type = 'labels'
|
|
77005
77257
|
if property is not None:
|
|
77006
77258
|
self._property = property
|
|
77007
77259
|
self._type = 'property'
|
|
77260
|
+
if properties is not None:
|
|
77261
|
+
self._properties = properties
|
|
77262
|
+
self._type = 'properties'
|
|
77008
77263
|
if asset_rid is not None:
|
|
77009
77264
|
self._asset_rid = asset_rid
|
|
77010
77265
|
self._type = 'assetRid'
|
|
77266
|
+
if asset_rids is not None:
|
|
77267
|
+
self._asset_rids = asset_rids
|
|
77268
|
+
self._type = 'assetRids'
|
|
77011
77269
|
if exact_asset_rids is not None:
|
|
77012
77270
|
self._exact_asset_rids = exact_asset_rids
|
|
77013
77271
|
self._type = 'exactAssetRids'
|
|
@@ -77017,9 +77275,15 @@ class scout_notebook_api_SearchNotebooksQuery(ConjureUnionType):
|
|
|
77017
77275
|
if run_rid is not None:
|
|
77018
77276
|
self._run_rid = run_rid
|
|
77019
77277
|
self._type = 'runRid'
|
|
77278
|
+
if run_rids is not None:
|
|
77279
|
+
self._run_rids = run_rids
|
|
77280
|
+
self._type = 'runRids'
|
|
77020
77281
|
if notebook_type is not None:
|
|
77021
77282
|
self._notebook_type = notebook_type
|
|
77022
77283
|
self._type = 'notebookType'
|
|
77284
|
+
if notebook_types is not None:
|
|
77285
|
+
self._notebook_types = notebook_types
|
|
77286
|
+
self._type = 'notebookTypes'
|
|
77023
77287
|
if draft_state is not None:
|
|
77024
77288
|
self._draft_state = draft_state
|
|
77025
77289
|
self._type = 'draftState'
|
|
@@ -77066,16 +77330,31 @@ class scout_notebook_api_SearchNotebooksQuery(ConjureUnionType):
|
|
|
77066
77330
|
raise ValueError('a union value must not be None')
|
|
77067
77331
|
self._label = label
|
|
77068
77332
|
self._type = 'label'
|
|
77333
|
+
elif type_of_union == 'labels':
|
|
77334
|
+
if labels is None:
|
|
77335
|
+
raise ValueError('a union value must not be None')
|
|
77336
|
+
self._labels = labels
|
|
77337
|
+
self._type = 'labels'
|
|
77069
77338
|
elif type_of_union == 'property':
|
|
77070
77339
|
if property is None:
|
|
77071
77340
|
raise ValueError('a union value must not be None')
|
|
77072
77341
|
self._property = property
|
|
77073
77342
|
self._type = 'property'
|
|
77343
|
+
elif type_of_union == 'properties':
|
|
77344
|
+
if properties is None:
|
|
77345
|
+
raise ValueError('a union value must not be None')
|
|
77346
|
+
self._properties = properties
|
|
77347
|
+
self._type = 'properties'
|
|
77074
77348
|
elif type_of_union == 'assetRid':
|
|
77075
77349
|
if asset_rid is None:
|
|
77076
77350
|
raise ValueError('a union value must not be None')
|
|
77077
77351
|
self._asset_rid = asset_rid
|
|
77078
77352
|
self._type = 'assetRid'
|
|
77353
|
+
elif type_of_union == 'assetRids':
|
|
77354
|
+
if asset_rids is None:
|
|
77355
|
+
raise ValueError('a union value must not be None')
|
|
77356
|
+
self._asset_rids = asset_rids
|
|
77357
|
+
self._type = 'assetRids'
|
|
77079
77358
|
elif type_of_union == 'exactAssetRids':
|
|
77080
77359
|
if exact_asset_rids is None:
|
|
77081
77360
|
raise ValueError('a union value must not be None')
|
|
@@ -77091,11 +77370,21 @@ class scout_notebook_api_SearchNotebooksQuery(ConjureUnionType):
|
|
|
77091
77370
|
raise ValueError('a union value must not be None')
|
|
77092
77371
|
self._run_rid = run_rid
|
|
77093
77372
|
self._type = 'runRid'
|
|
77373
|
+
elif type_of_union == 'runRids':
|
|
77374
|
+
if run_rids is None:
|
|
77375
|
+
raise ValueError('a union value must not be None')
|
|
77376
|
+
self._run_rids = run_rids
|
|
77377
|
+
self._type = 'runRids'
|
|
77094
77378
|
elif type_of_union == 'notebookType':
|
|
77095
77379
|
if notebook_type is None:
|
|
77096
77380
|
raise ValueError('a union value must not be None')
|
|
77097
77381
|
self._notebook_type = notebook_type
|
|
77098
77382
|
self._type = 'notebookType'
|
|
77383
|
+
elif type_of_union == 'notebookTypes':
|
|
77384
|
+
if notebook_types is None:
|
|
77385
|
+
raise ValueError('a union value must not be None')
|
|
77386
|
+
self._notebook_types = notebook_types
|
|
77387
|
+
self._type = 'notebookTypes'
|
|
77099
77388
|
elif type_of_union == 'draftState':
|
|
77100
77389
|
if draft_state is None:
|
|
77101
77390
|
raise ValueError('a union value must not be None')
|
|
@@ -77148,18 +77437,30 @@ class scout_notebook_api_SearchNotebooksQuery(ConjureUnionType):
|
|
|
77148
77437
|
def label(self) -> Optional[str]:
|
|
77149
77438
|
return self._label
|
|
77150
77439
|
|
|
77440
|
+
@builtins.property
|
|
77441
|
+
def labels(self) -> Optional["scout_rids_api_LabelsFilter"]:
|
|
77442
|
+
return self._labels
|
|
77443
|
+
|
|
77151
77444
|
@builtins.property
|
|
77152
77445
|
def property(self) -> Optional["api_Property"]:
|
|
77153
77446
|
return self._property
|
|
77154
77447
|
|
|
77448
|
+
@builtins.property
|
|
77449
|
+
def properties(self) -> Optional["scout_rids_api_PropertiesFilter"]:
|
|
77450
|
+
return self._properties
|
|
77451
|
+
|
|
77155
77452
|
@builtins.property
|
|
77156
77453
|
def asset_rid(self) -> Optional[str]:
|
|
77157
77454
|
return self._asset_rid
|
|
77158
77455
|
|
|
77456
|
+
@builtins.property
|
|
77457
|
+
def asset_rids(self) -> Optional["scout_notebook_api_AssetsFilter"]:
|
|
77458
|
+
return self._asset_rids
|
|
77459
|
+
|
|
77159
77460
|
@builtins.property
|
|
77160
77461
|
def exact_asset_rids(self) -> Optional[List[str]]:
|
|
77161
77462
|
"""Requires the set of assets in the query to exactly match the set of assets in the notebook.
|
|
77162
|
-
To do a partial match, use an
|
|
77463
|
+
To do a partial match, use an assetRids query.
|
|
77163
77464
|
"""
|
|
77164
77465
|
return self._exact_asset_rids
|
|
77165
77466
|
|
|
@@ -77171,10 +77472,18 @@ To do a partial match, use an "and" on AssetRid queries.
|
|
|
77171
77472
|
def run_rid(self) -> Optional[str]:
|
|
77172
77473
|
return self._run_rid
|
|
77173
77474
|
|
|
77475
|
+
@builtins.property
|
|
77476
|
+
def run_rids(self) -> Optional["scout_notebook_api_RunsFilter"]:
|
|
77477
|
+
return self._run_rids
|
|
77478
|
+
|
|
77174
77479
|
@builtins.property
|
|
77175
77480
|
def notebook_type(self) -> Optional["scout_notebook_api_NotebookType"]:
|
|
77176
77481
|
return self._notebook_type
|
|
77177
77482
|
|
|
77483
|
+
@builtins.property
|
|
77484
|
+
def notebook_types(self) -> Optional["scout_notebook_api_NotebookTypesFilter"]:
|
|
77485
|
+
return self._notebook_types
|
|
77486
|
+
|
|
77178
77487
|
@builtins.property
|
|
77179
77488
|
def draft_state(self) -> Optional[bool]:
|
|
77180
77489
|
return self._draft_state
|
|
@@ -77210,18 +77519,28 @@ To do a partial match, use an "and" on AssetRid queries.
|
|
|
77210
77519
|
return visitor._search_text(self.search_text)
|
|
77211
77520
|
if self._type == 'label' and self.label is not None:
|
|
77212
77521
|
return visitor._label(self.label)
|
|
77522
|
+
if self._type == 'labels' and self.labels is not None:
|
|
77523
|
+
return visitor._labels(self.labels)
|
|
77213
77524
|
if self._type == 'property' and self.property is not None:
|
|
77214
77525
|
return visitor._property(self.property)
|
|
77526
|
+
if self._type == 'properties' and self.properties is not None:
|
|
77527
|
+
return visitor._properties(self.properties)
|
|
77215
77528
|
if self._type == 'assetRid' and self.asset_rid is not None:
|
|
77216
77529
|
return visitor._asset_rid(self.asset_rid)
|
|
77530
|
+
if self._type == 'assetRids' and self.asset_rids is not None:
|
|
77531
|
+
return visitor._asset_rids(self.asset_rids)
|
|
77217
77532
|
if self._type == 'exactAssetRids' and self.exact_asset_rids is not None:
|
|
77218
77533
|
return visitor._exact_asset_rids(self.exact_asset_rids)
|
|
77219
77534
|
if self._type == 'authorRid' and self.author_rid is not None:
|
|
77220
77535
|
return visitor._author_rid(self.author_rid)
|
|
77221
77536
|
if self._type == 'runRid' and self.run_rid is not None:
|
|
77222
77537
|
return visitor._run_rid(self.run_rid)
|
|
77538
|
+
if self._type == 'runRids' and self.run_rids is not None:
|
|
77539
|
+
return visitor._run_rids(self.run_rids)
|
|
77223
77540
|
if self._type == 'notebookType' and self.notebook_type is not None:
|
|
77224
77541
|
return visitor._notebook_type(self.notebook_type)
|
|
77542
|
+
if self._type == 'notebookTypes' and self.notebook_types is not None:
|
|
77543
|
+
return visitor._notebook_types(self.notebook_types)
|
|
77225
77544
|
if self._type == 'draftState' and self.draft_state is not None:
|
|
77226
77545
|
return visitor._draft_state(self.draft_state)
|
|
77227
77546
|
if self._type == 'archived' and self.archived is not None:
|
|
@@ -77265,14 +77584,26 @@ class scout_notebook_api_SearchNotebooksQueryVisitor:
|
|
|
77265
77584
|
def _label(self, label: str) -> Any:
|
|
77266
77585
|
pass
|
|
77267
77586
|
|
|
77587
|
+
@abstractmethod
|
|
77588
|
+
def _labels(self, labels: "scout_rids_api_LabelsFilter") -> Any:
|
|
77589
|
+
pass
|
|
77590
|
+
|
|
77268
77591
|
@abstractmethod
|
|
77269
77592
|
def _property(self, property: "api_Property") -> Any:
|
|
77270
77593
|
pass
|
|
77271
77594
|
|
|
77595
|
+
@abstractmethod
|
|
77596
|
+
def _properties(self, properties: "scout_rids_api_PropertiesFilter") -> Any:
|
|
77597
|
+
pass
|
|
77598
|
+
|
|
77272
77599
|
@abstractmethod
|
|
77273
77600
|
def _asset_rid(self, asset_rid: str) -> Any:
|
|
77274
77601
|
pass
|
|
77275
77602
|
|
|
77603
|
+
@abstractmethod
|
|
77604
|
+
def _asset_rids(self, asset_rids: "scout_notebook_api_AssetsFilter") -> Any:
|
|
77605
|
+
pass
|
|
77606
|
+
|
|
77276
77607
|
@abstractmethod
|
|
77277
77608
|
def _exact_asset_rids(self, exact_asset_rids: List[str]) -> Any:
|
|
77278
77609
|
pass
|
|
@@ -77285,10 +77616,18 @@ class scout_notebook_api_SearchNotebooksQueryVisitor:
|
|
|
77285
77616
|
def _run_rid(self, run_rid: str) -> Any:
|
|
77286
77617
|
pass
|
|
77287
77618
|
|
|
77619
|
+
@abstractmethod
|
|
77620
|
+
def _run_rids(self, run_rids: "scout_notebook_api_RunsFilter") -> Any:
|
|
77621
|
+
pass
|
|
77622
|
+
|
|
77288
77623
|
@abstractmethod
|
|
77289
77624
|
def _notebook_type(self, notebook_type: "scout_notebook_api_NotebookType") -> Any:
|
|
77290
77625
|
pass
|
|
77291
77626
|
|
|
77627
|
+
@abstractmethod
|
|
77628
|
+
def _notebook_types(self, notebook_types: "scout_notebook_api_NotebookTypesFilter") -> Any:
|
|
77629
|
+
pass
|
|
77630
|
+
|
|
77292
77631
|
@abstractmethod
|
|
77293
77632
|
def _draft_state(self, draft_state: bool) -> Any:
|
|
77294
77633
|
pass
|
|
@@ -77783,6 +78122,35 @@ scout_rids_api_ClosedWithIgnoreAlertState.__qualname__ = "ClosedWithIgnoreAlertS
|
|
|
77783
78122
|
scout_rids_api_ClosedWithIgnoreAlertState.__module__ = "nominal_api.scout_rids_api"
|
|
77784
78123
|
|
|
77785
78124
|
|
|
78125
|
+
class scout_rids_api_LabelsFilter(ConjureBeanType):
|
|
78126
|
+
|
|
78127
|
+
@builtins.classmethod
|
|
78128
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
78129
|
+
return {
|
|
78130
|
+
'operator': ConjureFieldDefinition('operator', api_SetOperator),
|
|
78131
|
+
'labels': ConjureFieldDefinition('labels', List[api_Label])
|
|
78132
|
+
}
|
|
78133
|
+
|
|
78134
|
+
__slots__: List[str] = ['_operator', '_labels']
|
|
78135
|
+
|
|
78136
|
+
def __init__(self, labels: List[str], operator: "api_SetOperator") -> None:
|
|
78137
|
+
self._operator = operator
|
|
78138
|
+
self._labels = labels
|
|
78139
|
+
|
|
78140
|
+
@builtins.property
|
|
78141
|
+
def operator(self) -> "api_SetOperator":
|
|
78142
|
+
return self._operator
|
|
78143
|
+
|
|
78144
|
+
@builtins.property
|
|
78145
|
+
def labels(self) -> List[str]:
|
|
78146
|
+
return self._labels
|
|
78147
|
+
|
|
78148
|
+
|
|
78149
|
+
scout_rids_api_LabelsFilter.__name__ = "LabelsFilter"
|
|
78150
|
+
scout_rids_api_LabelsFilter.__qualname__ = "LabelsFilter"
|
|
78151
|
+
scout_rids_api_LabelsFilter.__module__ = "nominal_api.scout_rids_api"
|
|
78152
|
+
|
|
78153
|
+
|
|
77786
78154
|
class scout_rids_api_PendingReviewAlertState(ConjureBeanType):
|
|
77787
78155
|
|
|
77788
78156
|
@builtins.classmethod
|
|
@@ -77799,6 +78167,35 @@ scout_rids_api_PendingReviewAlertState.__qualname__ = "PendingReviewAlertState"
|
|
|
77799
78167
|
scout_rids_api_PendingReviewAlertState.__module__ = "nominal_api.scout_rids_api"
|
|
77800
78168
|
|
|
77801
78169
|
|
|
78170
|
+
class scout_rids_api_PropertiesFilter(ConjureBeanType):
|
|
78171
|
+
|
|
78172
|
+
@builtins.classmethod
|
|
78173
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
78174
|
+
return {
|
|
78175
|
+
'name': ConjureFieldDefinition('name', api_PropertyName),
|
|
78176
|
+
'values': ConjureFieldDefinition('values', List[api_PropertyValue])
|
|
78177
|
+
}
|
|
78178
|
+
|
|
78179
|
+
__slots__: List[str] = ['_name', '_values']
|
|
78180
|
+
|
|
78181
|
+
def __init__(self, name: str, values: List[str]) -> None:
|
|
78182
|
+
self._name = name
|
|
78183
|
+
self._values = values
|
|
78184
|
+
|
|
78185
|
+
@builtins.property
|
|
78186
|
+
def name(self) -> str:
|
|
78187
|
+
return self._name
|
|
78188
|
+
|
|
78189
|
+
@builtins.property
|
|
78190
|
+
def values(self) -> List[str]:
|
|
78191
|
+
return self._values
|
|
78192
|
+
|
|
78193
|
+
|
|
78194
|
+
scout_rids_api_PropertiesFilter.__name__ = "PropertiesFilter"
|
|
78195
|
+
scout_rids_api_PropertiesFilter.__qualname__ = "PropertiesFilter"
|
|
78196
|
+
scout_rids_api_PropertiesFilter.__module__ = "nominal_api.scout_rids_api"
|
|
78197
|
+
|
|
78198
|
+
|
|
77802
78199
|
class scout_rids_api_UserDuration(ConjureBeanType):
|
|
77803
78200
|
"""Represents a time duration with a unit for user-facing display
|
|
77804
78201
|
"""
|
|
@@ -78700,35 +79097,6 @@ scout_run_api_GetRunsByAssetResponse.__qualname__ = "GetRunsByAssetResponse"
|
|
|
78700
79097
|
scout_run_api_GetRunsByAssetResponse.__module__ = "nominal_api.scout_run_api"
|
|
78701
79098
|
|
|
78702
79099
|
|
|
78703
|
-
class scout_run_api_LabelsFilter(ConjureBeanType):
|
|
78704
|
-
|
|
78705
|
-
@builtins.classmethod
|
|
78706
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
78707
|
-
return {
|
|
78708
|
-
'operator': ConjureFieldDefinition('operator', api_SetOperator),
|
|
78709
|
-
'labels': ConjureFieldDefinition('labels', List[api_Label])
|
|
78710
|
-
}
|
|
78711
|
-
|
|
78712
|
-
__slots__: List[str] = ['_operator', '_labels']
|
|
78713
|
-
|
|
78714
|
-
def __init__(self, labels: List[str], operator: "api_SetOperator") -> None:
|
|
78715
|
-
self._operator = operator
|
|
78716
|
-
self._labels = labels
|
|
78717
|
-
|
|
78718
|
-
@builtins.property
|
|
78719
|
-
def operator(self) -> "api_SetOperator":
|
|
78720
|
-
return self._operator
|
|
78721
|
-
|
|
78722
|
-
@builtins.property
|
|
78723
|
-
def labels(self) -> List[str]:
|
|
78724
|
-
return self._labels
|
|
78725
|
-
|
|
78726
|
-
|
|
78727
|
-
scout_run_api_LabelsFilter.__name__ = "LabelsFilter"
|
|
78728
|
-
scout_run_api_LabelsFilter.__qualname__ = "LabelsFilter"
|
|
78729
|
-
scout_run_api_LabelsFilter.__module__ = "nominal_api.scout_run_api"
|
|
78730
|
-
|
|
78731
|
-
|
|
78732
79100
|
class scout_run_api_Link(ConjureBeanType):
|
|
78733
79101
|
|
|
78734
79102
|
@builtins.classmethod
|
|
@@ -78805,35 +79173,6 @@ scout_run_api_PresetTimeframeFilter.__qualname__ = "PresetTimeframeFilter"
|
|
|
78805
79173
|
scout_run_api_PresetTimeframeFilter.__module__ = "nominal_api.scout_run_api"
|
|
78806
79174
|
|
|
78807
79175
|
|
|
78808
|
-
class scout_run_api_PropertiesFilter(ConjureBeanType):
|
|
78809
|
-
|
|
78810
|
-
@builtins.classmethod
|
|
78811
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
78812
|
-
return {
|
|
78813
|
-
'name': ConjureFieldDefinition('name', api_PropertyName),
|
|
78814
|
-
'values': ConjureFieldDefinition('values', List[api_PropertyValue])
|
|
78815
|
-
}
|
|
78816
|
-
|
|
78817
|
-
__slots__: List[str] = ['_name', '_values']
|
|
78818
|
-
|
|
78819
|
-
def __init__(self, name: str, values: List[str]) -> None:
|
|
78820
|
-
self._name = name
|
|
78821
|
-
self._values = values
|
|
78822
|
-
|
|
78823
|
-
@builtins.property
|
|
78824
|
-
def name(self) -> str:
|
|
78825
|
-
return self._name
|
|
78826
|
-
|
|
78827
|
-
@builtins.property
|
|
78828
|
-
def values(self) -> List[str]:
|
|
78829
|
-
return self._values
|
|
78830
|
-
|
|
78831
|
-
|
|
78832
|
-
scout_run_api_PropertiesFilter.__name__ = "PropertiesFilter"
|
|
78833
|
-
scout_run_api_PropertiesFilter.__qualname__ = "PropertiesFilter"
|
|
78834
|
-
scout_run_api_PropertiesFilter.__module__ = "nominal_api.scout_run_api"
|
|
78835
|
-
|
|
78836
|
-
|
|
78837
79176
|
class scout_run_api_RefNameAndType(ConjureBeanType):
|
|
78838
79177
|
"""Scoped to the org-level, intended to help the frontend
|
|
78839
79178
|
prevent users from submitting invalid ref names, ex.
|
|
@@ -79211,9 +79550,9 @@ class scout_run_api_SearchQuery(ConjureUnionType):
|
|
|
79211
79550
|
_assets: Optional["scout_run_api_AssetsFilter"] = None
|
|
79212
79551
|
_is_single_asset: Optional[bool] = None
|
|
79213
79552
|
_label: Optional[str] = None
|
|
79214
|
-
_labels: Optional["
|
|
79553
|
+
_labels: Optional["scout_rids_api_LabelsFilter"] = None
|
|
79215
79554
|
_property: Optional["api_Property"] = None
|
|
79216
|
-
_properties: Optional["
|
|
79555
|
+
_properties: Optional["scout_rids_api_PropertiesFilter"] = None
|
|
79217
79556
|
_data_source_series_tag: Optional["scout_run_api_DataSourceSeriesTag"] = None
|
|
79218
79557
|
_data_source_ref_name: Optional[str] = None
|
|
79219
79558
|
_data_source: Optional["scout_run_api_DataSource"] = None
|
|
@@ -79240,9 +79579,9 @@ class scout_run_api_SearchQuery(ConjureUnionType):
|
|
|
79240
79579
|
'assets': ConjureFieldDefinition('assets', scout_run_api_AssetsFilter),
|
|
79241
79580
|
'is_single_asset': ConjureFieldDefinition('isSingleAsset', bool),
|
|
79242
79581
|
'label': ConjureFieldDefinition('label', api_Label),
|
|
79243
|
-
'labels': ConjureFieldDefinition('labels',
|
|
79582
|
+
'labels': ConjureFieldDefinition('labels', scout_rids_api_LabelsFilter),
|
|
79244
79583
|
'property': ConjureFieldDefinition('property', api_Property),
|
|
79245
|
-
'properties': ConjureFieldDefinition('properties',
|
|
79584
|
+
'properties': ConjureFieldDefinition('properties', scout_rids_api_PropertiesFilter),
|
|
79246
79585
|
'data_source_series_tag': ConjureFieldDefinition('dataSourceSeriesTag', scout_run_api_DataSourceSeriesTag),
|
|
79247
79586
|
'data_source_ref_name': ConjureFieldDefinition('dataSourceRefName', scout_api_DataSourceRefName),
|
|
79248
79587
|
'data_source': ConjureFieldDefinition('dataSource', scout_run_api_DataSource),
|
|
@@ -79269,9 +79608,9 @@ class scout_run_api_SearchQuery(ConjureUnionType):
|
|
|
79269
79608
|
assets: Optional["scout_run_api_AssetsFilter"] = None,
|
|
79270
79609
|
is_single_asset: Optional[bool] = None,
|
|
79271
79610
|
label: Optional[str] = None,
|
|
79272
|
-
labels: Optional["
|
|
79611
|
+
labels: Optional["scout_rids_api_LabelsFilter"] = None,
|
|
79273
79612
|
property: Optional["api_Property"] = None,
|
|
79274
|
-
properties: Optional["
|
|
79613
|
+
properties: Optional["scout_rids_api_PropertiesFilter"] = None,
|
|
79275
79614
|
data_source_series_tag: Optional["scout_run_api_DataSourceSeriesTag"] = None,
|
|
79276
79615
|
data_source_ref_name: Optional[str] = None,
|
|
79277
79616
|
data_source: Optional["scout_run_api_DataSource"] = None,
|
|
@@ -79540,7 +79879,7 @@ class scout_run_api_SearchQuery(ConjureUnionType):
|
|
|
79540
79879
|
return self._label
|
|
79541
79880
|
|
|
79542
79881
|
@builtins.property
|
|
79543
|
-
def labels(self) -> Optional["
|
|
79882
|
+
def labels(self) -> Optional["scout_rids_api_LabelsFilter"]:
|
|
79544
79883
|
return self._labels
|
|
79545
79884
|
|
|
79546
79885
|
@builtins.property
|
|
@@ -79548,7 +79887,7 @@ class scout_run_api_SearchQuery(ConjureUnionType):
|
|
|
79548
79887
|
return self._property
|
|
79549
79888
|
|
|
79550
79889
|
@builtins.property
|
|
79551
|
-
def properties(self) -> Optional["
|
|
79890
|
+
def properties(self) -> Optional["scout_rids_api_PropertiesFilter"]:
|
|
79552
79891
|
return self._properties
|
|
79553
79892
|
|
|
79554
79893
|
@builtins.property
|
|
@@ -79704,7 +80043,7 @@ class scout_run_api_SearchQueryVisitor:
|
|
|
79704
80043
|
pass
|
|
79705
80044
|
|
|
79706
80045
|
@abstractmethod
|
|
79707
|
-
def _labels(self, labels: "
|
|
80046
|
+
def _labels(self, labels: "scout_rids_api_LabelsFilter") -> Any:
|
|
79708
80047
|
pass
|
|
79709
80048
|
|
|
79710
80049
|
@abstractmethod
|
|
@@ -79712,7 +80051,7 @@ class scout_run_api_SearchQueryVisitor:
|
|
|
79712
80051
|
pass
|
|
79713
80052
|
|
|
79714
80053
|
@abstractmethod
|
|
79715
|
-
def _properties(self, properties: "
|
|
80054
|
+
def _properties(self, properties: "scout_rids_api_PropertiesFilter") -> Any:
|
|
79716
80055
|
pass
|
|
79717
80056
|
|
|
79718
80057
|
@abstractmethod
|
|
@@ -82261,7 +82600,9 @@ class scout_template_api_SearchTemplatesQuery(ConjureUnionType):
|
|
|
82261
82600
|
_exact_match: Optional[str] = None
|
|
82262
82601
|
_search_text: Optional[str] = None
|
|
82263
82602
|
_label: Optional[str] = None
|
|
82603
|
+
_labels: Optional["scout_rids_api_LabelsFilter"] = None
|
|
82264
82604
|
_property: Optional["api_Property"] = None
|
|
82605
|
+
_properties: Optional["scout_rids_api_PropertiesFilter"] = None
|
|
82265
82606
|
_created_by: Optional[str] = None
|
|
82266
82607
|
_is_archived: Optional[bool] = None
|
|
82267
82608
|
_is_published: Optional[bool] = None
|
|
@@ -82278,7 +82619,9 @@ class scout_template_api_SearchTemplatesQuery(ConjureUnionType):
|
|
|
82278
82619
|
'exact_match': ConjureFieldDefinition('exactMatch', str),
|
|
82279
82620
|
'search_text': ConjureFieldDefinition('searchText', str),
|
|
82280
82621
|
'label': ConjureFieldDefinition('label', api_Label),
|
|
82622
|
+
'labels': ConjureFieldDefinition('labels', scout_rids_api_LabelsFilter),
|
|
82281
82623
|
'property': ConjureFieldDefinition('property', api_Property),
|
|
82624
|
+
'properties': ConjureFieldDefinition('properties', scout_rids_api_PropertiesFilter),
|
|
82282
82625
|
'created_by': ConjureFieldDefinition('createdBy', scout_rids_api_UserRid),
|
|
82283
82626
|
'is_archived': ConjureFieldDefinition('isArchived', bool),
|
|
82284
82627
|
'is_published': ConjureFieldDefinition('isPublished', bool),
|
|
@@ -82295,7 +82638,9 @@ class scout_template_api_SearchTemplatesQuery(ConjureUnionType):
|
|
|
82295
82638
|
exact_match: Optional[str] = None,
|
|
82296
82639
|
search_text: Optional[str] = None,
|
|
82297
82640
|
label: Optional[str] = None,
|
|
82641
|
+
labels: Optional["scout_rids_api_LabelsFilter"] = None,
|
|
82298
82642
|
property: Optional["api_Property"] = None,
|
|
82643
|
+
properties: Optional["scout_rids_api_PropertiesFilter"] = None,
|
|
82299
82644
|
created_by: Optional[str] = None,
|
|
82300
82645
|
is_archived: Optional[bool] = None,
|
|
82301
82646
|
is_published: Optional[bool] = None,
|
|
@@ -82305,7 +82650,7 @@ class scout_template_api_SearchTemplatesQuery(ConjureUnionType):
|
|
|
82305
82650
|
type_of_union: Optional[str] = None
|
|
82306
82651
|
) -> None:
|
|
82307
82652
|
if type_of_union is None:
|
|
82308
|
-
if (and_ is not None) + (or_ is not None) + (not_ is not None) + (exact_match is not None) + (search_text is not None) + (label is not None) + (property is not None) + (created_by is not None) + (is_archived is not None) + (is_published is not None) + (workspace is not None) + (author_is_current_user is not None) + (author_rids is not None) != 1:
|
|
82653
|
+
if (and_ is not None) + (or_ is not None) + (not_ is not None) + (exact_match is not None) + (search_text is not None) + (label is not None) + (labels is not None) + (property is not None) + (properties is not None) + (created_by is not None) + (is_archived is not None) + (is_published is not None) + (workspace is not None) + (author_is_current_user is not None) + (author_rids is not None) != 1:
|
|
82309
82654
|
raise ValueError('a union must contain a single member')
|
|
82310
82655
|
|
|
82311
82656
|
if and_ is not None:
|
|
@@ -82326,9 +82671,15 @@ class scout_template_api_SearchTemplatesQuery(ConjureUnionType):
|
|
|
82326
82671
|
if label is not None:
|
|
82327
82672
|
self._label = label
|
|
82328
82673
|
self._type = 'label'
|
|
82674
|
+
if labels is not None:
|
|
82675
|
+
self._labels = labels
|
|
82676
|
+
self._type = 'labels'
|
|
82329
82677
|
if property is not None:
|
|
82330
82678
|
self._property = property
|
|
82331
82679
|
self._type = 'property'
|
|
82680
|
+
if properties is not None:
|
|
82681
|
+
self._properties = properties
|
|
82682
|
+
self._type = 'properties'
|
|
82332
82683
|
if created_by is not None:
|
|
82333
82684
|
self._created_by = created_by
|
|
82334
82685
|
self._type = 'createdBy'
|
|
@@ -82378,11 +82729,21 @@ class scout_template_api_SearchTemplatesQuery(ConjureUnionType):
|
|
|
82378
82729
|
raise ValueError('a union value must not be None')
|
|
82379
82730
|
self._label = label
|
|
82380
82731
|
self._type = 'label'
|
|
82732
|
+
elif type_of_union == 'labels':
|
|
82733
|
+
if labels is None:
|
|
82734
|
+
raise ValueError('a union value must not be None')
|
|
82735
|
+
self._labels = labels
|
|
82736
|
+
self._type = 'labels'
|
|
82381
82737
|
elif type_of_union == 'property':
|
|
82382
82738
|
if property is None:
|
|
82383
82739
|
raise ValueError('a union value must not be None')
|
|
82384
82740
|
self._property = property
|
|
82385
82741
|
self._type = 'property'
|
|
82742
|
+
elif type_of_union == 'properties':
|
|
82743
|
+
if properties is None:
|
|
82744
|
+
raise ValueError('a union value must not be None')
|
|
82745
|
+
self._properties = properties
|
|
82746
|
+
self._type = 'properties'
|
|
82386
82747
|
elif type_of_union == 'createdBy':
|
|
82387
82748
|
if created_by is None:
|
|
82388
82749
|
raise ValueError('a union value must not be None')
|
|
@@ -82442,10 +82803,18 @@ class scout_template_api_SearchTemplatesQuery(ConjureUnionType):
|
|
|
82442
82803
|
def label(self) -> Optional[str]:
|
|
82443
82804
|
return self._label
|
|
82444
82805
|
|
|
82806
|
+
@builtins.property
|
|
82807
|
+
def labels(self) -> Optional["scout_rids_api_LabelsFilter"]:
|
|
82808
|
+
return self._labels
|
|
82809
|
+
|
|
82445
82810
|
@builtins.property
|
|
82446
82811
|
def property(self) -> Optional["api_Property"]:
|
|
82447
82812
|
return self._property
|
|
82448
82813
|
|
|
82814
|
+
@builtins.property
|
|
82815
|
+
def properties(self) -> Optional["scout_rids_api_PropertiesFilter"]:
|
|
82816
|
+
return self._properties
|
|
82817
|
+
|
|
82449
82818
|
@builtins.property
|
|
82450
82819
|
def created_by(self) -> Optional[str]:
|
|
82451
82820
|
return self._created_by
|
|
@@ -82485,8 +82854,12 @@ class scout_template_api_SearchTemplatesQuery(ConjureUnionType):
|
|
|
82485
82854
|
return visitor._search_text(self.search_text)
|
|
82486
82855
|
if self._type == 'label' and self.label is not None:
|
|
82487
82856
|
return visitor._label(self.label)
|
|
82857
|
+
if self._type == 'labels' and self.labels is not None:
|
|
82858
|
+
return visitor._labels(self.labels)
|
|
82488
82859
|
if self._type == 'property' and self.property is not None:
|
|
82489
82860
|
return visitor._property(self.property)
|
|
82861
|
+
if self._type == 'properties' and self.properties is not None:
|
|
82862
|
+
return visitor._properties(self.properties)
|
|
82490
82863
|
if self._type == 'createdBy' and self.created_by is not None:
|
|
82491
82864
|
return visitor._created_by(self.created_by)
|
|
82492
82865
|
if self._type == 'isArchived' and self.is_archived is not None:
|
|
@@ -82532,10 +82905,18 @@ class scout_template_api_SearchTemplatesQueryVisitor:
|
|
|
82532
82905
|
def _label(self, label: str) -> Any:
|
|
82533
82906
|
pass
|
|
82534
82907
|
|
|
82908
|
+
@abstractmethod
|
|
82909
|
+
def _labels(self, labels: "scout_rids_api_LabelsFilter") -> Any:
|
|
82910
|
+
pass
|
|
82911
|
+
|
|
82535
82912
|
@abstractmethod
|
|
82536
82913
|
def _property(self, property: "api_Property") -> Any:
|
|
82537
82914
|
pass
|
|
82538
82915
|
|
|
82916
|
+
@abstractmethod
|
|
82917
|
+
def _properties(self, properties: "scout_rids_api_PropertiesFilter") -> Any:
|
|
82918
|
+
pass
|
|
82919
|
+
|
|
82539
82920
|
@abstractmethod
|
|
82540
82921
|
def _created_by(self, created_by: str) -> Any:
|
|
82541
82922
|
pass
|
|
@@ -5,6 +5,7 @@ from .._impl import (
|
|
|
5
5
|
scout_asset_api_AssetSortField as AssetSortField,
|
|
6
6
|
scout_asset_api_AssetSortOptions as AssetSortOptions,
|
|
7
7
|
scout_asset_api_AssetTypeDataScopeConfig as AssetTypeDataScopeConfig,
|
|
8
|
+
scout_asset_api_AssetTypesFilter as AssetTypesFilter,
|
|
8
9
|
scout_asset_api_Channel as Channel,
|
|
9
10
|
scout_asset_api_ChannelMetadata as ChannelMetadata,
|
|
10
11
|
scout_asset_api_CreateAssetDataScope as CreateAssetDataScope,
|
|
@@ -45,6 +46,7 @@ __all__ = [
|
|
|
45
46
|
'AssetSortField',
|
|
46
47
|
'AssetSortOptions',
|
|
47
48
|
'AssetTypeDataScopeConfig',
|
|
49
|
+
'AssetTypesFilter',
|
|
48
50
|
'Channel',
|
|
49
51
|
'ChannelMetadata',
|
|
50
52
|
'CreateAssetDataScope',
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
2
|
from .._impl import (
|
|
3
|
+
scout_notebook_api_AssetsFilter as AssetsFilter,
|
|
3
4
|
scout_notebook_api_ChartWithOverlays as ChartWithOverlays,
|
|
4
5
|
scout_notebook_api_CreateNotebookRequest as CreateNotebookRequest,
|
|
5
6
|
scout_notebook_api_GetAllLabelsAndPropertiesResponse as GetAllLabelsAndPropertiesResponse,
|
|
@@ -10,6 +11,8 @@ from .._impl import (
|
|
|
10
11
|
scout_notebook_api_NotebookMetadata as NotebookMetadata,
|
|
11
12
|
scout_notebook_api_NotebookMetadataWithRid as NotebookMetadataWithRid,
|
|
12
13
|
scout_notebook_api_NotebookType as NotebookType,
|
|
14
|
+
scout_notebook_api_NotebookTypesFilter as NotebookTypesFilter,
|
|
15
|
+
scout_notebook_api_RunsFilter as RunsFilter,
|
|
13
16
|
scout_notebook_api_SearchNotebooksQuery as SearchNotebooksQuery,
|
|
14
17
|
scout_notebook_api_SearchNotebooksQueryVisitor as SearchNotebooksQueryVisitor,
|
|
15
18
|
scout_notebook_api_SearchNotebooksRequest as SearchNotebooksRequest,
|
|
@@ -22,6 +25,7 @@ from .._impl import (
|
|
|
22
25
|
)
|
|
23
26
|
|
|
24
27
|
__all__ = [
|
|
28
|
+
'AssetsFilter',
|
|
25
29
|
'ChartWithOverlays',
|
|
26
30
|
'CreateNotebookRequest',
|
|
27
31
|
'GetAllLabelsAndPropertiesResponse',
|
|
@@ -32,6 +36,8 @@ __all__ = [
|
|
|
32
36
|
'NotebookMetadata',
|
|
33
37
|
'NotebookMetadataWithRid',
|
|
34
38
|
'NotebookType',
|
|
39
|
+
'NotebookTypesFilter',
|
|
40
|
+
'RunsFilter',
|
|
35
41
|
'SearchNotebooksQuery',
|
|
36
42
|
'SearchNotebooksQueryVisitor',
|
|
37
43
|
'SearchNotebooksRequest',
|
|
@@ -15,10 +15,12 @@ from .._impl import (
|
|
|
15
15
|
scout_rids_api_FunctionLineageRid as FunctionLineageRid,
|
|
16
16
|
scout_rids_api_FunctionRid as FunctionRid,
|
|
17
17
|
scout_rids_api_GroupRid as GroupRid,
|
|
18
|
+
scout_rids_api_LabelsFilter as LabelsFilter,
|
|
18
19
|
scout_rids_api_MarkingRid as MarkingRid,
|
|
19
20
|
scout_rids_api_NotebookRid as NotebookRid,
|
|
20
21
|
scout_rids_api_PendingReviewAlertState as PendingReviewAlertState,
|
|
21
22
|
scout_rids_api_ProcedureExecutionRid as ProcedureExecutionRid,
|
|
23
|
+
scout_rids_api_PropertiesFilter as PropertiesFilter,
|
|
22
24
|
scout_rids_api_SavedViewRid as SavedViewRid,
|
|
23
25
|
scout_rids_api_SnapshotRid as SnapshotRid,
|
|
24
26
|
scout_rids_api_TemplateRid as TemplateRid,
|
|
@@ -46,10 +48,12 @@ __all__ = [
|
|
|
46
48
|
'FunctionLineageRid',
|
|
47
49
|
'FunctionRid',
|
|
48
50
|
'GroupRid',
|
|
51
|
+
'LabelsFilter',
|
|
49
52
|
'MarkingRid',
|
|
50
53
|
'NotebookRid',
|
|
51
54
|
'PendingReviewAlertState',
|
|
52
55
|
'ProcedureExecutionRid',
|
|
56
|
+
'PropertiesFilter',
|
|
53
57
|
'SavedViewRid',
|
|
54
58
|
'SnapshotRid',
|
|
55
59
|
'TemplateRid',
|
|
@@ -22,12 +22,10 @@ from .._impl import (
|
|
|
22
22
|
scout_run_api_GetRunByIdRequest as GetRunByIdRequest,
|
|
23
23
|
scout_run_api_GetRunsByAssetRequest as GetRunsByAssetRequest,
|
|
24
24
|
scout_run_api_GetRunsByAssetResponse as GetRunsByAssetResponse,
|
|
25
|
-
scout_run_api_LabelsFilter as LabelsFilter,
|
|
26
25
|
scout_run_api_Link as Link,
|
|
27
26
|
scout_run_api_LogSetRid as LogSetRid,
|
|
28
27
|
scout_run_api_PresetTimeframeDuration as PresetTimeframeDuration,
|
|
29
28
|
scout_run_api_PresetTimeframeFilter as PresetTimeframeFilter,
|
|
30
|
-
scout_run_api_PropertiesFilter as PropertiesFilter,
|
|
31
29
|
scout_run_api_RefNameAndType as RefNameAndType,
|
|
32
30
|
scout_run_api_Run as Run,
|
|
33
31
|
scout_run_api_RunDataReviewEvaluationStatus as RunDataReviewEvaluationStatus,
|
|
@@ -83,12 +81,10 @@ __all__ = [
|
|
|
83
81
|
'GetRunByIdRequest',
|
|
84
82
|
'GetRunsByAssetRequest',
|
|
85
83
|
'GetRunsByAssetResponse',
|
|
86
|
-
'LabelsFilter',
|
|
87
84
|
'Link',
|
|
88
85
|
'LogSetRid',
|
|
89
86
|
'PresetTimeframeDuration',
|
|
90
87
|
'PresetTimeframeFilter',
|
|
91
|
-
'PropertiesFilter',
|
|
92
88
|
'RefNameAndType',
|
|
93
89
|
'Run',
|
|
94
90
|
'RunDataReviewEvaluationStatus',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
|
2
|
-
nominal_api/_impl.py,sha256=
|
|
1
|
+
nominal_api/__init__.py,sha256=5QUCJcToRGeZOOKLXjGB9f2QhAJ-iCY2lco7OzFnSHI,2088
|
|
2
|
+
nominal_api/_impl.py,sha256=qFbE0QbhgnaVvaePLyFzpjavbfjIHilhwB5bUkSNa74,3801984
|
|
3
3
|
nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
|
4
4
|
nominal_api/api/__init__.py,sha256=GqRLE9wwPPQgALVHFJViG8E4JJ2t3yfHedeXRLu1L70,2226
|
|
5
5
|
nominal_api/api_ids/__init__.py,sha256=sxqN5dMk6bOx0SKOd0ANG3_kmx1VtdSVotzEGn_q6sE,114
|
|
@@ -23,7 +23,7 @@ nominal_api/modules_api/__init__.py,sha256=686IO0NDXIYDX1mJkE7YBwqYOTayga6JYs1AZ
|
|
|
23
23
|
nominal_api/persistent_compute_api/__init__.py,sha256=bOWBiRLJbl3winMP9EowCUpPpRIUYyejua3059wJWQk,3314
|
|
24
24
|
nominal_api/scout/__init__.py,sha256=dZzrrqBeio2l0txhlNoHSfv6QsA9a3EVDp0_XpubUGk,481
|
|
25
25
|
nominal_api/scout_api/__init__.py,sha256=6rARWIRcx3zbNAxI1a01TNElG3ontr7-uIHQ8iaRWs8,1085
|
|
26
|
-
nominal_api/scout_asset_api/__init__.py,sha256=
|
|
26
|
+
nominal_api/scout_asset_api/__init__.py,sha256=1GMflPfQVpPOK5qcfWsJxAKmNjSRDqVdafwaUIvUJgo,3294
|
|
27
27
|
nominal_api/scout_assets/__init__.py,sha256=1ZyiolDjhxnrhyeUxW_KyeQ_q-6stlqd1I2d3HeZqUg,122
|
|
28
28
|
nominal_api/scout_catalog/__init__.py,sha256=1EnyVFs0chW7ne4yECCPvNC_Lzb9SIGtYlb2RzSc0KE,4988
|
|
29
29
|
nominal_api/scout_channelvariables_api/__init__.py,sha256=Wahkyy-m3gEcaRFYU5ZV3beW-W4OeYnOs9Y4eirQO38,1033
|
|
@@ -49,10 +49,10 @@ nominal_api/scout_internal_search_api/__init__.py,sha256=1rHEb-Djc3wVIttJDUU9mlA
|
|
|
49
49
|
nominal_api/scout_jobs_api/__init__.py,sha256=pxPUL0pQNZe0aY1HjRRBcAPoX9ut4qyjQUgFFRdhcY4,205
|
|
50
50
|
nominal_api/scout_layout_api/__init__.py,sha256=sUWO0V8Y0I0pa-nmKAjkeoIgTpP9tSG13335DHWlLx0,1902
|
|
51
51
|
nominal_api/scout_metadata/__init__.py,sha256=tfnzE6dlVBki1ZSy276mkDQQeKehmJLaG9dczHAx3jk,649
|
|
52
|
-
nominal_api/scout_notebook_api/__init__.py,sha256=
|
|
52
|
+
nominal_api/scout_notebook_api/__init__.py,sha256=AciUoPZXPbhC0lIWyUxa7LFGsj4qqX8hTqf70DM_Pa8,2054
|
|
53
53
|
nominal_api/scout_plotting/__init__.py,sha256=RJK9HlPmNW_dxSz7CprwjfNKke86x11rQ7BF5pwrBv4,127
|
|
54
|
-
nominal_api/scout_rids_api/__init__.py,sha256=
|
|
55
|
-
nominal_api/scout_run_api/__init__.py,sha256=
|
|
54
|
+
nominal_api/scout_rids_api/__init__.py,sha256=7K44IwVH-84rKCj6srKvJSrjfYRiEnhxUA0HtmgnyG4,2251
|
|
55
|
+
nominal_api/scout_run_api/__init__.py,sha256=ZUd1CJa6EyAylMrTGD6rum7CyFAoehP6FyiT4W2EDDA,4763
|
|
56
56
|
nominal_api/scout_savedviews/__init__.py,sha256=yky0iF6IK8U5xnDjfzvUuXOb-Tl5RF6dic6abhuX-V8,138
|
|
57
57
|
nominal_api/scout_savedviews_api/__init__.py,sha256=qGCgh8Pv9N-uekuDwDCHlBu9DCflIT6MiDhtFSmtKQ4,3148
|
|
58
58
|
nominal_api/scout_template_api/__init__.py,sha256=Yu7FHTypJv09dBKqnWS_dDeXdwI1hgGGZNDbMOHZKr8,1550
|
|
@@ -78,7 +78,7 @@ nominal_api/timeseries_seriescache/__init__.py,sha256=hL5hN8jKLEGE_fDiZzdASmWIrR
|
|
|
78
78
|
nominal_api/timeseries_seriescache_api/__init__.py,sha256=USBxFmNnVFdnhTPLvWi3UgsvBZ4Iz4ycNgBTi10F-zI,1603
|
|
79
79
|
nominal_api/upload_api/__init__.py,sha256=7-XXuZUqKPV4AMWvxNpZPZ5vBun4x-AomXj3Vol_BN4,123
|
|
80
80
|
nominal_api/usercreation_api/__init__.py,sha256=Q6M70SlKFVfIxZqRohD4XYmBz5t2DP1DB0a0Q6glqGA,171
|
|
81
|
-
nominal_api-0.
|
|
82
|
-
nominal_api-0.
|
|
83
|
-
nominal_api-0.
|
|
84
|
-
nominal_api-0.
|
|
81
|
+
nominal_api-0.911.0.dist-info/METADATA,sha256=jictSFHETdinkP0TyvR7OY0fJCW6lvJ1NEwbv8Uss5A,199
|
|
82
|
+
nominal_api-0.911.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
83
|
+
nominal_api-0.911.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
84
|
+
nominal_api-0.911.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|