nominal-api 0.833.0__py3-none-any.whl → 0.834.1__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 +753 -8
- nominal_api/scout_compute_api/__init__.py +16 -0
- nominal_api/scout_compute_resolved_api/__init__.py +2 -0
- {nominal_api-0.833.0.dist-info → nominal_api-0.834.1.dist-info}/METADATA +1 -1
- {nominal_api-0.833.0.dist-info → nominal_api-0.834.1.dist-info}/RECORD +8 -8
- {nominal_api-0.833.0.dist-info → nominal_api-0.834.1.dist-info}/WHEEL +0 -0
- {nominal_api-0.833.0.dist-info → nominal_api-0.834.1.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -41959,6 +41959,551 @@ scout_compute_api_ComputableNodeVisitor.__qualname__ = "ComputableNodeVisitor"
|
|
|
41959
41959
|
scout_compute_api_ComputableNodeVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
41960
41960
|
|
|
41961
41961
|
|
|
41962
|
+
class scout_compute_api_ComputeEventQuery(ConjureUnionType):
|
|
41963
|
+
_search_text: Optional["scout_compute_api_StringConstant"] = None
|
|
41964
|
+
_after: Optional["scout_compute_api_TimestampConstant"] = None
|
|
41965
|
+
_before: Optional["scout_compute_api_TimestampConstant"] = None
|
|
41966
|
+
_advanced_time_filter: Optional["scout_compute_api_EventTimeFilter"] = None
|
|
41967
|
+
_asset: Optional["scout_compute_api_StringConstant"] = None
|
|
41968
|
+
_template: Optional["scout_compute_api_StringConstant"] = None
|
|
41969
|
+
_workbook: Optional["scout_compute_api_StringConstant"] = None
|
|
41970
|
+
_data_review: Optional["scout_compute_api_StringConstant"] = None
|
|
41971
|
+
_origin_type: Optional["scout_compute_api_SearchEventOriginType"] = None
|
|
41972
|
+
_data_review_check: Optional["scout_compute_api_StringConstant"] = None
|
|
41973
|
+
_disposition_status: Optional["scout_compute_api_EventDispositionStatus"] = None
|
|
41974
|
+
_priority: Optional["scout_compute_api_StringConstant"] = None
|
|
41975
|
+
_assignee: Optional["scout_compute_api_StringConstant"] = None
|
|
41976
|
+
_event_type: Optional["scout_compute_api_EventType"] = None
|
|
41977
|
+
_created_by: Optional["scout_compute_api_StringConstant"] = None
|
|
41978
|
+
_label: Optional["scout_compute_api_StringConstant"] = None
|
|
41979
|
+
_property: Optional["scout_compute_api_Property"] = None
|
|
41980
|
+
_and_: Optional[List["scout_compute_api_ComputeEventQuery"]] = None
|
|
41981
|
+
_or_: Optional[List["scout_compute_api_ComputeEventQuery"]] = None
|
|
41982
|
+
_not_: Optional["scout_compute_api_ComputeEventQuery"] = None
|
|
41983
|
+
_workspace: Optional["scout_compute_api_StringConstant"] = None
|
|
41984
|
+
_procedure: Optional["scout_compute_api_StringConstant"] = None
|
|
41985
|
+
_procedure_execution: Optional["scout_compute_api_StringConstant"] = None
|
|
41986
|
+
_step_id: Optional["scout_compute_api_StringConstant"] = None
|
|
41987
|
+
|
|
41988
|
+
@builtins.classmethod
|
|
41989
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
41990
|
+
return {
|
|
41991
|
+
'search_text': ConjureFieldDefinition('searchText', scout_compute_api_StringConstant),
|
|
41992
|
+
'after': ConjureFieldDefinition('after', scout_compute_api_TimestampConstant),
|
|
41993
|
+
'before': ConjureFieldDefinition('before', scout_compute_api_TimestampConstant),
|
|
41994
|
+
'advanced_time_filter': ConjureFieldDefinition('advancedTimeFilter', scout_compute_api_EventTimeFilter),
|
|
41995
|
+
'asset': ConjureFieldDefinition('asset', scout_compute_api_StringConstant),
|
|
41996
|
+
'template': ConjureFieldDefinition('template', scout_compute_api_StringConstant),
|
|
41997
|
+
'workbook': ConjureFieldDefinition('workbook', scout_compute_api_StringConstant),
|
|
41998
|
+
'data_review': ConjureFieldDefinition('dataReview', scout_compute_api_StringConstant),
|
|
41999
|
+
'origin_type': ConjureFieldDefinition('originType', scout_compute_api_SearchEventOriginType),
|
|
42000
|
+
'data_review_check': ConjureFieldDefinition('dataReviewCheck', scout_compute_api_StringConstant),
|
|
42001
|
+
'disposition_status': ConjureFieldDefinition('dispositionStatus', scout_compute_api_EventDispositionStatus),
|
|
42002
|
+
'priority': ConjureFieldDefinition('priority', scout_compute_api_StringConstant),
|
|
42003
|
+
'assignee': ConjureFieldDefinition('assignee', scout_compute_api_StringConstant),
|
|
42004
|
+
'event_type': ConjureFieldDefinition('eventType', scout_compute_api_EventType),
|
|
42005
|
+
'created_by': ConjureFieldDefinition('createdBy', scout_compute_api_StringConstant),
|
|
42006
|
+
'label': ConjureFieldDefinition('label', scout_compute_api_StringConstant),
|
|
42007
|
+
'property': ConjureFieldDefinition('property', scout_compute_api_Property),
|
|
42008
|
+
'and_': ConjureFieldDefinition('and', List[scout_compute_api_ComputeEventQuery]),
|
|
42009
|
+
'or_': ConjureFieldDefinition('or', List[scout_compute_api_ComputeEventQuery]),
|
|
42010
|
+
'not_': ConjureFieldDefinition('not', scout_compute_api_ComputeEventQuery),
|
|
42011
|
+
'workspace': ConjureFieldDefinition('workspace', scout_compute_api_StringConstant),
|
|
42012
|
+
'procedure': ConjureFieldDefinition('procedure', scout_compute_api_StringConstant),
|
|
42013
|
+
'procedure_execution': ConjureFieldDefinition('procedureExecution', scout_compute_api_StringConstant),
|
|
42014
|
+
'step_id': ConjureFieldDefinition('stepId', scout_compute_api_StringConstant)
|
|
42015
|
+
}
|
|
42016
|
+
|
|
42017
|
+
def __init__(
|
|
42018
|
+
self,
|
|
42019
|
+
search_text: Optional["scout_compute_api_StringConstant"] = None,
|
|
42020
|
+
after: Optional["scout_compute_api_TimestampConstant"] = None,
|
|
42021
|
+
before: Optional["scout_compute_api_TimestampConstant"] = None,
|
|
42022
|
+
advanced_time_filter: Optional["scout_compute_api_EventTimeFilter"] = None,
|
|
42023
|
+
asset: Optional["scout_compute_api_StringConstant"] = None,
|
|
42024
|
+
template: Optional["scout_compute_api_StringConstant"] = None,
|
|
42025
|
+
workbook: Optional["scout_compute_api_StringConstant"] = None,
|
|
42026
|
+
data_review: Optional["scout_compute_api_StringConstant"] = None,
|
|
42027
|
+
origin_type: Optional["scout_compute_api_SearchEventOriginType"] = None,
|
|
42028
|
+
data_review_check: Optional["scout_compute_api_StringConstant"] = None,
|
|
42029
|
+
disposition_status: Optional["scout_compute_api_EventDispositionStatus"] = None,
|
|
42030
|
+
priority: Optional["scout_compute_api_StringConstant"] = None,
|
|
42031
|
+
assignee: Optional["scout_compute_api_StringConstant"] = None,
|
|
42032
|
+
event_type: Optional["scout_compute_api_EventType"] = None,
|
|
42033
|
+
created_by: Optional["scout_compute_api_StringConstant"] = None,
|
|
42034
|
+
label: Optional["scout_compute_api_StringConstant"] = None,
|
|
42035
|
+
property: Optional["scout_compute_api_Property"] = None,
|
|
42036
|
+
and_: Optional[List["scout_compute_api_ComputeEventQuery"]] = None,
|
|
42037
|
+
or_: Optional[List["scout_compute_api_ComputeEventQuery"]] = None,
|
|
42038
|
+
not_: Optional["scout_compute_api_ComputeEventQuery"] = None,
|
|
42039
|
+
workspace: Optional["scout_compute_api_StringConstant"] = None,
|
|
42040
|
+
procedure: Optional["scout_compute_api_StringConstant"] = None,
|
|
42041
|
+
procedure_execution: Optional["scout_compute_api_StringConstant"] = None,
|
|
42042
|
+
step_id: Optional["scout_compute_api_StringConstant"] = None,
|
|
42043
|
+
type_of_union: Optional[str] = None
|
|
42044
|
+
) -> None:
|
|
42045
|
+
if type_of_union is None:
|
|
42046
|
+
if (search_text is not None) + (after is not None) + (before is not None) + (advanced_time_filter is not None) + (asset is not None) + (template is not None) + (workbook is not None) + (data_review is not None) + (origin_type is not None) + (data_review_check is not None) + (disposition_status is not None) + (priority is not None) + (assignee is not None) + (event_type is not None) + (created_by is not None) + (label is not None) + (property is not None) + (and_ is not None) + (or_ is not None) + (not_ is not None) + (workspace is not None) + (procedure is not None) + (procedure_execution is not None) + (step_id is not None) != 1:
|
|
42047
|
+
raise ValueError('a union must contain a single member')
|
|
42048
|
+
|
|
42049
|
+
if search_text is not None:
|
|
42050
|
+
self._search_text = search_text
|
|
42051
|
+
self._type = 'searchText'
|
|
42052
|
+
if after is not None:
|
|
42053
|
+
self._after = after
|
|
42054
|
+
self._type = 'after'
|
|
42055
|
+
if before is not None:
|
|
42056
|
+
self._before = before
|
|
42057
|
+
self._type = 'before'
|
|
42058
|
+
if advanced_time_filter is not None:
|
|
42059
|
+
self._advanced_time_filter = advanced_time_filter
|
|
42060
|
+
self._type = 'advancedTimeFilter'
|
|
42061
|
+
if asset is not None:
|
|
42062
|
+
self._asset = asset
|
|
42063
|
+
self._type = 'asset'
|
|
42064
|
+
if template is not None:
|
|
42065
|
+
self._template = template
|
|
42066
|
+
self._type = 'template'
|
|
42067
|
+
if workbook is not None:
|
|
42068
|
+
self._workbook = workbook
|
|
42069
|
+
self._type = 'workbook'
|
|
42070
|
+
if data_review is not None:
|
|
42071
|
+
self._data_review = data_review
|
|
42072
|
+
self._type = 'dataReview'
|
|
42073
|
+
if origin_type is not None:
|
|
42074
|
+
self._origin_type = origin_type
|
|
42075
|
+
self._type = 'originType'
|
|
42076
|
+
if data_review_check is not None:
|
|
42077
|
+
self._data_review_check = data_review_check
|
|
42078
|
+
self._type = 'dataReviewCheck'
|
|
42079
|
+
if disposition_status is not None:
|
|
42080
|
+
self._disposition_status = disposition_status
|
|
42081
|
+
self._type = 'dispositionStatus'
|
|
42082
|
+
if priority is not None:
|
|
42083
|
+
self._priority = priority
|
|
42084
|
+
self._type = 'priority'
|
|
42085
|
+
if assignee is not None:
|
|
42086
|
+
self._assignee = assignee
|
|
42087
|
+
self._type = 'assignee'
|
|
42088
|
+
if event_type is not None:
|
|
42089
|
+
self._event_type = event_type
|
|
42090
|
+
self._type = 'eventType'
|
|
42091
|
+
if created_by is not None:
|
|
42092
|
+
self._created_by = created_by
|
|
42093
|
+
self._type = 'createdBy'
|
|
42094
|
+
if label is not None:
|
|
42095
|
+
self._label = label
|
|
42096
|
+
self._type = 'label'
|
|
42097
|
+
if property is not None:
|
|
42098
|
+
self._property = property
|
|
42099
|
+
self._type = 'property'
|
|
42100
|
+
if and_ is not None:
|
|
42101
|
+
self._and_ = and_
|
|
42102
|
+
self._type = 'and'
|
|
42103
|
+
if or_ is not None:
|
|
42104
|
+
self._or_ = or_
|
|
42105
|
+
self._type = 'or'
|
|
42106
|
+
if not_ is not None:
|
|
42107
|
+
self._not_ = not_
|
|
42108
|
+
self._type = 'not'
|
|
42109
|
+
if workspace is not None:
|
|
42110
|
+
self._workspace = workspace
|
|
42111
|
+
self._type = 'workspace'
|
|
42112
|
+
if procedure is not None:
|
|
42113
|
+
self._procedure = procedure
|
|
42114
|
+
self._type = 'procedure'
|
|
42115
|
+
if procedure_execution is not None:
|
|
42116
|
+
self._procedure_execution = procedure_execution
|
|
42117
|
+
self._type = 'procedureExecution'
|
|
42118
|
+
if step_id is not None:
|
|
42119
|
+
self._step_id = step_id
|
|
42120
|
+
self._type = 'stepId'
|
|
42121
|
+
|
|
42122
|
+
elif type_of_union == 'searchText':
|
|
42123
|
+
if search_text is None:
|
|
42124
|
+
raise ValueError('a union value must not be None')
|
|
42125
|
+
self._search_text = search_text
|
|
42126
|
+
self._type = 'searchText'
|
|
42127
|
+
elif type_of_union == 'after':
|
|
42128
|
+
if after is None:
|
|
42129
|
+
raise ValueError('a union value must not be None')
|
|
42130
|
+
self._after = after
|
|
42131
|
+
self._type = 'after'
|
|
42132
|
+
elif type_of_union == 'before':
|
|
42133
|
+
if before is None:
|
|
42134
|
+
raise ValueError('a union value must not be None')
|
|
42135
|
+
self._before = before
|
|
42136
|
+
self._type = 'before'
|
|
42137
|
+
elif type_of_union == 'advancedTimeFilter':
|
|
42138
|
+
if advanced_time_filter is None:
|
|
42139
|
+
raise ValueError('a union value must not be None')
|
|
42140
|
+
self._advanced_time_filter = advanced_time_filter
|
|
42141
|
+
self._type = 'advancedTimeFilter'
|
|
42142
|
+
elif type_of_union == 'asset':
|
|
42143
|
+
if asset is None:
|
|
42144
|
+
raise ValueError('a union value must not be None')
|
|
42145
|
+
self._asset = asset
|
|
42146
|
+
self._type = 'asset'
|
|
42147
|
+
elif type_of_union == 'template':
|
|
42148
|
+
if template is None:
|
|
42149
|
+
raise ValueError('a union value must not be None')
|
|
42150
|
+
self._template = template
|
|
42151
|
+
self._type = 'template'
|
|
42152
|
+
elif type_of_union == 'workbook':
|
|
42153
|
+
if workbook is None:
|
|
42154
|
+
raise ValueError('a union value must not be None')
|
|
42155
|
+
self._workbook = workbook
|
|
42156
|
+
self._type = 'workbook'
|
|
42157
|
+
elif type_of_union == 'dataReview':
|
|
42158
|
+
if data_review is None:
|
|
42159
|
+
raise ValueError('a union value must not be None')
|
|
42160
|
+
self._data_review = data_review
|
|
42161
|
+
self._type = 'dataReview'
|
|
42162
|
+
elif type_of_union == 'originType':
|
|
42163
|
+
if origin_type is None:
|
|
42164
|
+
raise ValueError('a union value must not be None')
|
|
42165
|
+
self._origin_type = origin_type
|
|
42166
|
+
self._type = 'originType'
|
|
42167
|
+
elif type_of_union == 'dataReviewCheck':
|
|
42168
|
+
if data_review_check is None:
|
|
42169
|
+
raise ValueError('a union value must not be None')
|
|
42170
|
+
self._data_review_check = data_review_check
|
|
42171
|
+
self._type = 'dataReviewCheck'
|
|
42172
|
+
elif type_of_union == 'dispositionStatus':
|
|
42173
|
+
if disposition_status is None:
|
|
42174
|
+
raise ValueError('a union value must not be None')
|
|
42175
|
+
self._disposition_status = disposition_status
|
|
42176
|
+
self._type = 'dispositionStatus'
|
|
42177
|
+
elif type_of_union == 'priority':
|
|
42178
|
+
if priority is None:
|
|
42179
|
+
raise ValueError('a union value must not be None')
|
|
42180
|
+
self._priority = priority
|
|
42181
|
+
self._type = 'priority'
|
|
42182
|
+
elif type_of_union == 'assignee':
|
|
42183
|
+
if assignee is None:
|
|
42184
|
+
raise ValueError('a union value must not be None')
|
|
42185
|
+
self._assignee = assignee
|
|
42186
|
+
self._type = 'assignee'
|
|
42187
|
+
elif type_of_union == 'eventType':
|
|
42188
|
+
if event_type is None:
|
|
42189
|
+
raise ValueError('a union value must not be None')
|
|
42190
|
+
self._event_type = event_type
|
|
42191
|
+
self._type = 'eventType'
|
|
42192
|
+
elif type_of_union == 'createdBy':
|
|
42193
|
+
if created_by is None:
|
|
42194
|
+
raise ValueError('a union value must not be None')
|
|
42195
|
+
self._created_by = created_by
|
|
42196
|
+
self._type = 'createdBy'
|
|
42197
|
+
elif type_of_union == 'label':
|
|
42198
|
+
if label is None:
|
|
42199
|
+
raise ValueError('a union value must not be None')
|
|
42200
|
+
self._label = label
|
|
42201
|
+
self._type = 'label'
|
|
42202
|
+
elif type_of_union == 'property':
|
|
42203
|
+
if property is None:
|
|
42204
|
+
raise ValueError('a union value must not be None')
|
|
42205
|
+
self._property = property
|
|
42206
|
+
self._type = 'property'
|
|
42207
|
+
elif type_of_union == 'and':
|
|
42208
|
+
if and_ is None:
|
|
42209
|
+
raise ValueError('a union value must not be None')
|
|
42210
|
+
self._and_ = and_
|
|
42211
|
+
self._type = 'and'
|
|
42212
|
+
elif type_of_union == 'or':
|
|
42213
|
+
if or_ is None:
|
|
42214
|
+
raise ValueError('a union value must not be None')
|
|
42215
|
+
self._or_ = or_
|
|
42216
|
+
self._type = 'or'
|
|
42217
|
+
elif type_of_union == 'not':
|
|
42218
|
+
if not_ is None:
|
|
42219
|
+
raise ValueError('a union value must not be None')
|
|
42220
|
+
self._not_ = not_
|
|
42221
|
+
self._type = 'not'
|
|
42222
|
+
elif type_of_union == 'workspace':
|
|
42223
|
+
if workspace is None:
|
|
42224
|
+
raise ValueError('a union value must not be None')
|
|
42225
|
+
self._workspace = workspace
|
|
42226
|
+
self._type = 'workspace'
|
|
42227
|
+
elif type_of_union == 'procedure':
|
|
42228
|
+
if procedure is None:
|
|
42229
|
+
raise ValueError('a union value must not be None')
|
|
42230
|
+
self._procedure = procedure
|
|
42231
|
+
self._type = 'procedure'
|
|
42232
|
+
elif type_of_union == 'procedureExecution':
|
|
42233
|
+
if procedure_execution is None:
|
|
42234
|
+
raise ValueError('a union value must not be None')
|
|
42235
|
+
self._procedure_execution = procedure_execution
|
|
42236
|
+
self._type = 'procedureExecution'
|
|
42237
|
+
elif type_of_union == 'stepId':
|
|
42238
|
+
if step_id is None:
|
|
42239
|
+
raise ValueError('a union value must not be None')
|
|
42240
|
+
self._step_id = step_id
|
|
42241
|
+
self._type = 'stepId'
|
|
42242
|
+
|
|
42243
|
+
@builtins.property
|
|
42244
|
+
def search_text(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42245
|
+
return self._search_text
|
|
42246
|
+
|
|
42247
|
+
@builtins.property
|
|
42248
|
+
def after(self) -> Optional["scout_compute_api_TimestampConstant"]:
|
|
42249
|
+
"""Filters to events after this timestamp, exclusive.
|
|
42250
|
+
This includes events that start before, but end after this time.
|
|
42251
|
+
"""
|
|
42252
|
+
return self._after
|
|
42253
|
+
|
|
42254
|
+
@builtins.property
|
|
42255
|
+
def before(self) -> Optional["scout_compute_api_TimestampConstant"]:
|
|
42256
|
+
"""Filters to events before this timestamp, exclusive.
|
|
42257
|
+
This includes events that start before, but end after this time.
|
|
42258
|
+
"""
|
|
42259
|
+
return self._before
|
|
42260
|
+
|
|
42261
|
+
@builtins.property
|
|
42262
|
+
def advanced_time_filter(self) -> Optional["scout_compute_api_EventTimeFilter"]:
|
|
42263
|
+
return self._advanced_time_filter
|
|
42264
|
+
|
|
42265
|
+
@builtins.property
|
|
42266
|
+
def asset(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42267
|
+
return self._asset
|
|
42268
|
+
|
|
42269
|
+
@builtins.property
|
|
42270
|
+
def template(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42271
|
+
return self._template
|
|
42272
|
+
|
|
42273
|
+
@builtins.property
|
|
42274
|
+
def workbook(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42275
|
+
return self._workbook
|
|
42276
|
+
|
|
42277
|
+
@builtins.property
|
|
42278
|
+
def data_review(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42279
|
+
return self._data_review
|
|
42280
|
+
|
|
42281
|
+
@builtins.property
|
|
42282
|
+
def origin_type(self) -> Optional["scout_compute_api_SearchEventOriginType"]:
|
|
42283
|
+
return self._origin_type
|
|
42284
|
+
|
|
42285
|
+
@builtins.property
|
|
42286
|
+
def data_review_check(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42287
|
+
return self._data_review_check
|
|
42288
|
+
|
|
42289
|
+
@builtins.property
|
|
42290
|
+
def disposition_status(self) -> Optional["scout_compute_api_EventDispositionStatus"]:
|
|
42291
|
+
return self._disposition_status
|
|
42292
|
+
|
|
42293
|
+
@builtins.property
|
|
42294
|
+
def priority(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42295
|
+
return self._priority
|
|
42296
|
+
|
|
42297
|
+
@builtins.property
|
|
42298
|
+
def assignee(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42299
|
+
return self._assignee
|
|
42300
|
+
|
|
42301
|
+
@builtins.property
|
|
42302
|
+
def event_type(self) -> Optional["scout_compute_api_EventType"]:
|
|
42303
|
+
return self._event_type
|
|
42304
|
+
|
|
42305
|
+
@builtins.property
|
|
42306
|
+
def created_by(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42307
|
+
return self._created_by
|
|
42308
|
+
|
|
42309
|
+
@builtins.property
|
|
42310
|
+
def label(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42311
|
+
return self._label
|
|
42312
|
+
|
|
42313
|
+
@builtins.property
|
|
42314
|
+
def property(self) -> Optional["scout_compute_api_Property"]:
|
|
42315
|
+
return self._property
|
|
42316
|
+
|
|
42317
|
+
@builtins.property
|
|
42318
|
+
def and_(self) -> Optional[List["scout_compute_api_ComputeEventQuery"]]:
|
|
42319
|
+
return self._and_
|
|
42320
|
+
|
|
42321
|
+
@builtins.property
|
|
42322
|
+
def or_(self) -> Optional[List["scout_compute_api_ComputeEventQuery"]]:
|
|
42323
|
+
return self._or_
|
|
42324
|
+
|
|
42325
|
+
@builtins.property
|
|
42326
|
+
def not_(self) -> Optional["scout_compute_api_ComputeEventQuery"]:
|
|
42327
|
+
return self._not_
|
|
42328
|
+
|
|
42329
|
+
@builtins.property
|
|
42330
|
+
def workspace(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42331
|
+
return self._workspace
|
|
42332
|
+
|
|
42333
|
+
@builtins.property
|
|
42334
|
+
def procedure(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42335
|
+
return self._procedure
|
|
42336
|
+
|
|
42337
|
+
@builtins.property
|
|
42338
|
+
def procedure_execution(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42339
|
+
return self._procedure_execution
|
|
42340
|
+
|
|
42341
|
+
@builtins.property
|
|
42342
|
+
def step_id(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42343
|
+
return self._step_id
|
|
42344
|
+
|
|
42345
|
+
def accept(self, visitor) -> Any:
|
|
42346
|
+
if not isinstance(visitor, scout_compute_api_ComputeEventQueryVisitor):
|
|
42347
|
+
raise ValueError('{} is not an instance of scout_compute_api_ComputeEventQueryVisitor'.format(visitor.__class__.__name__))
|
|
42348
|
+
if self._type == 'searchText' and self.search_text is not None:
|
|
42349
|
+
return visitor._search_text(self.search_text)
|
|
42350
|
+
if self._type == 'after' and self.after is not None:
|
|
42351
|
+
return visitor._after(self.after)
|
|
42352
|
+
if self._type == 'before' and self.before is not None:
|
|
42353
|
+
return visitor._before(self.before)
|
|
42354
|
+
if self._type == 'advancedTimeFilter' and self.advanced_time_filter is not None:
|
|
42355
|
+
return visitor._advanced_time_filter(self.advanced_time_filter)
|
|
42356
|
+
if self._type == 'asset' and self.asset is not None:
|
|
42357
|
+
return visitor._asset(self.asset)
|
|
42358
|
+
if self._type == 'template' and self.template is not None:
|
|
42359
|
+
return visitor._template(self.template)
|
|
42360
|
+
if self._type == 'workbook' and self.workbook is not None:
|
|
42361
|
+
return visitor._workbook(self.workbook)
|
|
42362
|
+
if self._type == 'dataReview' and self.data_review is not None:
|
|
42363
|
+
return visitor._data_review(self.data_review)
|
|
42364
|
+
if self._type == 'originType' and self.origin_type is not None:
|
|
42365
|
+
return visitor._origin_type(self.origin_type)
|
|
42366
|
+
if self._type == 'dataReviewCheck' and self.data_review_check is not None:
|
|
42367
|
+
return visitor._data_review_check(self.data_review_check)
|
|
42368
|
+
if self._type == 'dispositionStatus' and self.disposition_status is not None:
|
|
42369
|
+
return visitor._disposition_status(self.disposition_status)
|
|
42370
|
+
if self._type == 'priority' and self.priority is not None:
|
|
42371
|
+
return visitor._priority(self.priority)
|
|
42372
|
+
if self._type == 'assignee' and self.assignee is not None:
|
|
42373
|
+
return visitor._assignee(self.assignee)
|
|
42374
|
+
if self._type == 'eventType' and self.event_type is not None:
|
|
42375
|
+
return visitor._event_type(self.event_type)
|
|
42376
|
+
if self._type == 'createdBy' and self.created_by is not None:
|
|
42377
|
+
return visitor._created_by(self.created_by)
|
|
42378
|
+
if self._type == 'label' and self.label is not None:
|
|
42379
|
+
return visitor._label(self.label)
|
|
42380
|
+
if self._type == 'property' and self.property is not None:
|
|
42381
|
+
return visitor._property(self.property)
|
|
42382
|
+
if self._type == 'and' and self.and_ is not None:
|
|
42383
|
+
return visitor._and(self.and_)
|
|
42384
|
+
if self._type == 'or' and self.or_ is not None:
|
|
42385
|
+
return visitor._or(self.or_)
|
|
42386
|
+
if self._type == 'not' and self.not_ is not None:
|
|
42387
|
+
return visitor._not(self.not_)
|
|
42388
|
+
if self._type == 'workspace' and self.workspace is not None:
|
|
42389
|
+
return visitor._workspace(self.workspace)
|
|
42390
|
+
if self._type == 'procedure' and self.procedure is not None:
|
|
42391
|
+
return visitor._procedure(self.procedure)
|
|
42392
|
+
if self._type == 'procedureExecution' and self.procedure_execution is not None:
|
|
42393
|
+
return visitor._procedure_execution(self.procedure_execution)
|
|
42394
|
+
if self._type == 'stepId' and self.step_id is not None:
|
|
42395
|
+
return visitor._step_id(self.step_id)
|
|
42396
|
+
|
|
42397
|
+
|
|
42398
|
+
scout_compute_api_ComputeEventQuery.__name__ = "ComputeEventQuery"
|
|
42399
|
+
scout_compute_api_ComputeEventQuery.__qualname__ = "ComputeEventQuery"
|
|
42400
|
+
scout_compute_api_ComputeEventQuery.__module__ = "nominal_api.scout_compute_api"
|
|
42401
|
+
|
|
42402
|
+
|
|
42403
|
+
class scout_compute_api_ComputeEventQueryVisitor:
|
|
42404
|
+
|
|
42405
|
+
@abstractmethod
|
|
42406
|
+
def _search_text(self, search_text: "scout_compute_api_StringConstant") -> Any:
|
|
42407
|
+
pass
|
|
42408
|
+
|
|
42409
|
+
@abstractmethod
|
|
42410
|
+
def _after(self, after: "scout_compute_api_TimestampConstant") -> Any:
|
|
42411
|
+
pass
|
|
42412
|
+
|
|
42413
|
+
@abstractmethod
|
|
42414
|
+
def _before(self, before: "scout_compute_api_TimestampConstant") -> Any:
|
|
42415
|
+
pass
|
|
42416
|
+
|
|
42417
|
+
@abstractmethod
|
|
42418
|
+
def _advanced_time_filter(self, advanced_time_filter: "scout_compute_api_EventTimeFilter") -> Any:
|
|
42419
|
+
pass
|
|
42420
|
+
|
|
42421
|
+
@abstractmethod
|
|
42422
|
+
def _asset(self, asset: "scout_compute_api_StringConstant") -> Any:
|
|
42423
|
+
pass
|
|
42424
|
+
|
|
42425
|
+
@abstractmethod
|
|
42426
|
+
def _template(self, template: "scout_compute_api_StringConstant") -> Any:
|
|
42427
|
+
pass
|
|
42428
|
+
|
|
42429
|
+
@abstractmethod
|
|
42430
|
+
def _workbook(self, workbook: "scout_compute_api_StringConstant") -> Any:
|
|
42431
|
+
pass
|
|
42432
|
+
|
|
42433
|
+
@abstractmethod
|
|
42434
|
+
def _data_review(self, data_review: "scout_compute_api_StringConstant") -> Any:
|
|
42435
|
+
pass
|
|
42436
|
+
|
|
42437
|
+
@abstractmethod
|
|
42438
|
+
def _origin_type(self, origin_type: "scout_compute_api_SearchEventOriginType") -> Any:
|
|
42439
|
+
pass
|
|
42440
|
+
|
|
42441
|
+
@abstractmethod
|
|
42442
|
+
def _data_review_check(self, data_review_check: "scout_compute_api_StringConstant") -> Any:
|
|
42443
|
+
pass
|
|
42444
|
+
|
|
42445
|
+
@abstractmethod
|
|
42446
|
+
def _disposition_status(self, disposition_status: "scout_compute_api_EventDispositionStatus") -> Any:
|
|
42447
|
+
pass
|
|
42448
|
+
|
|
42449
|
+
@abstractmethod
|
|
42450
|
+
def _priority(self, priority: "scout_compute_api_StringConstant") -> Any:
|
|
42451
|
+
pass
|
|
42452
|
+
|
|
42453
|
+
@abstractmethod
|
|
42454
|
+
def _assignee(self, assignee: "scout_compute_api_StringConstant") -> Any:
|
|
42455
|
+
pass
|
|
42456
|
+
|
|
42457
|
+
@abstractmethod
|
|
42458
|
+
def _event_type(self, event_type: "scout_compute_api_EventType") -> Any:
|
|
42459
|
+
pass
|
|
42460
|
+
|
|
42461
|
+
@abstractmethod
|
|
42462
|
+
def _created_by(self, created_by: "scout_compute_api_StringConstant") -> Any:
|
|
42463
|
+
pass
|
|
42464
|
+
|
|
42465
|
+
@abstractmethod
|
|
42466
|
+
def _label(self, label: "scout_compute_api_StringConstant") -> Any:
|
|
42467
|
+
pass
|
|
42468
|
+
|
|
42469
|
+
@abstractmethod
|
|
42470
|
+
def _property(self, property: "scout_compute_api_Property") -> Any:
|
|
42471
|
+
pass
|
|
42472
|
+
|
|
42473
|
+
@abstractmethod
|
|
42474
|
+
def _and(self, and_: List["scout_compute_api_ComputeEventQuery"]) -> Any:
|
|
42475
|
+
pass
|
|
42476
|
+
|
|
42477
|
+
@abstractmethod
|
|
42478
|
+
def _or(self, or_: List["scout_compute_api_ComputeEventQuery"]) -> Any:
|
|
42479
|
+
pass
|
|
42480
|
+
|
|
42481
|
+
@abstractmethod
|
|
42482
|
+
def _not(self, not_: "scout_compute_api_ComputeEventQuery") -> Any:
|
|
42483
|
+
pass
|
|
42484
|
+
|
|
42485
|
+
@abstractmethod
|
|
42486
|
+
def _workspace(self, workspace: "scout_compute_api_StringConstant") -> Any:
|
|
42487
|
+
pass
|
|
42488
|
+
|
|
42489
|
+
@abstractmethod
|
|
42490
|
+
def _procedure(self, procedure: "scout_compute_api_StringConstant") -> Any:
|
|
42491
|
+
pass
|
|
42492
|
+
|
|
42493
|
+
@abstractmethod
|
|
42494
|
+
def _procedure_execution(self, procedure_execution: "scout_compute_api_StringConstant") -> Any:
|
|
42495
|
+
pass
|
|
42496
|
+
|
|
42497
|
+
@abstractmethod
|
|
42498
|
+
def _step_id(self, step_id: "scout_compute_api_StringConstant") -> Any:
|
|
42499
|
+
pass
|
|
42500
|
+
|
|
42501
|
+
|
|
42502
|
+
scout_compute_api_ComputeEventQueryVisitor.__name__ = "ComputeEventQueryVisitor"
|
|
42503
|
+
scout_compute_api_ComputeEventQueryVisitor.__qualname__ = "ComputeEventQueryVisitor"
|
|
42504
|
+
scout_compute_api_ComputeEventQueryVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
42505
|
+
|
|
42506
|
+
|
|
41962
42507
|
class scout_compute_api_ComputeNode(ConjureUnionType):
|
|
41963
42508
|
_enum: Optional["scout_compute_api_EnumSeries"] = None
|
|
41964
42509
|
_numeric: Optional["scout_compute_api_NumericSeries"] = None
|
|
@@ -45246,6 +45791,109 @@ scout_compute_api_ErrorResult.__qualname__ = "ErrorResult"
|
|
|
45246
45791
|
scout_compute_api_ErrorResult.__module__ = "nominal_api.scout_compute_api"
|
|
45247
45792
|
|
|
45248
45793
|
|
|
45794
|
+
class scout_compute_api_EventDispositionStatus(ConjureEnumType):
|
|
45795
|
+
|
|
45796
|
+
PENDING_REVIEW = 'PENDING_REVIEW'
|
|
45797
|
+
'''PENDING_REVIEW'''
|
|
45798
|
+
CLOSED_IGNORED = 'CLOSED_IGNORED'
|
|
45799
|
+
'''CLOSED_IGNORED'''
|
|
45800
|
+
CLOSED_REQUIRES_FURTHER_ACTION = 'CLOSED_REQUIRES_FURTHER_ACTION'
|
|
45801
|
+
'''CLOSED_REQUIRES_FURTHER_ACTION'''
|
|
45802
|
+
NO_DISPOSITION = 'NO_DISPOSITION'
|
|
45803
|
+
'''NO_DISPOSITION'''
|
|
45804
|
+
UNKNOWN = 'UNKNOWN'
|
|
45805
|
+
'''UNKNOWN'''
|
|
45806
|
+
|
|
45807
|
+
def __reduce_ex__(self, proto):
|
|
45808
|
+
return self.__class__, (self.name,)
|
|
45809
|
+
|
|
45810
|
+
|
|
45811
|
+
scout_compute_api_EventDispositionStatus.__name__ = "EventDispositionStatus"
|
|
45812
|
+
scout_compute_api_EventDispositionStatus.__qualname__ = "EventDispositionStatus"
|
|
45813
|
+
scout_compute_api_EventDispositionStatus.__module__ = "nominal_api.scout_compute_api"
|
|
45814
|
+
|
|
45815
|
+
|
|
45816
|
+
class scout_compute_api_EventTimeFilter(ConjureBeanType):
|
|
45817
|
+
|
|
45818
|
+
@builtins.classmethod
|
|
45819
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
45820
|
+
return {
|
|
45821
|
+
'timestamp': ConjureFieldDefinition('timestamp', scout_compute_api_TimestampConstant),
|
|
45822
|
+
'timestamp_condition': ConjureFieldDefinition('timestampCondition', scout_compute_api_EventTimeFilterCondition)
|
|
45823
|
+
}
|
|
45824
|
+
|
|
45825
|
+
__slots__: List[str] = ['_timestamp', '_timestamp_condition']
|
|
45826
|
+
|
|
45827
|
+
def __init__(self, timestamp: "scout_compute_api_TimestampConstant", timestamp_condition: "scout_compute_api_EventTimeFilterCondition") -> None:
|
|
45828
|
+
self._timestamp = timestamp
|
|
45829
|
+
self._timestamp_condition = timestamp_condition
|
|
45830
|
+
|
|
45831
|
+
@builtins.property
|
|
45832
|
+
def timestamp(self) -> "scout_compute_api_TimestampConstant":
|
|
45833
|
+
return self._timestamp
|
|
45834
|
+
|
|
45835
|
+
@builtins.property
|
|
45836
|
+
def timestamp_condition(self) -> "scout_compute_api_EventTimeFilterCondition":
|
|
45837
|
+
return self._timestamp_condition
|
|
45838
|
+
|
|
45839
|
+
|
|
45840
|
+
scout_compute_api_EventTimeFilter.__name__ = "EventTimeFilter"
|
|
45841
|
+
scout_compute_api_EventTimeFilter.__qualname__ = "EventTimeFilter"
|
|
45842
|
+
scout_compute_api_EventTimeFilter.__module__ = "nominal_api.scout_compute_api"
|
|
45843
|
+
|
|
45844
|
+
|
|
45845
|
+
class scout_compute_api_EventTimeFilterCondition(ConjureEnumType):
|
|
45846
|
+
|
|
45847
|
+
START_TIME_BEFORE_INCLUSIVE = 'START_TIME_BEFORE_INCLUSIVE'
|
|
45848
|
+
'''START_TIME_BEFORE_INCLUSIVE'''
|
|
45849
|
+
START_TIME_BEFORE_EXCLUSIVE = 'START_TIME_BEFORE_EXCLUSIVE'
|
|
45850
|
+
'''START_TIME_BEFORE_EXCLUSIVE'''
|
|
45851
|
+
START_TIME_AFTER_INCLUSIVE = 'START_TIME_AFTER_INCLUSIVE'
|
|
45852
|
+
'''START_TIME_AFTER_INCLUSIVE'''
|
|
45853
|
+
START_TIME_AFTER_EXCLUSIVE = 'START_TIME_AFTER_EXCLUSIVE'
|
|
45854
|
+
'''START_TIME_AFTER_EXCLUSIVE'''
|
|
45855
|
+
END_TIME_BEFORE_INCLUSIVE = 'END_TIME_BEFORE_INCLUSIVE'
|
|
45856
|
+
'''END_TIME_BEFORE_INCLUSIVE'''
|
|
45857
|
+
END_TIME_BEFORE_EXCLUSIVE = 'END_TIME_BEFORE_EXCLUSIVE'
|
|
45858
|
+
'''END_TIME_BEFORE_EXCLUSIVE'''
|
|
45859
|
+
END_TIME_AFTER_INCLUSIVE = 'END_TIME_AFTER_INCLUSIVE'
|
|
45860
|
+
'''END_TIME_AFTER_INCLUSIVE'''
|
|
45861
|
+
END_TIME_AFTER_EXCLUSIVE = 'END_TIME_AFTER_EXCLUSIVE'
|
|
45862
|
+
'''END_TIME_AFTER_EXCLUSIVE'''
|
|
45863
|
+
UNKNOWN = 'UNKNOWN'
|
|
45864
|
+
'''UNKNOWN'''
|
|
45865
|
+
|
|
45866
|
+
def __reduce_ex__(self, proto):
|
|
45867
|
+
return self.__class__, (self.name,)
|
|
45868
|
+
|
|
45869
|
+
|
|
45870
|
+
scout_compute_api_EventTimeFilterCondition.__name__ = "EventTimeFilterCondition"
|
|
45871
|
+
scout_compute_api_EventTimeFilterCondition.__qualname__ = "EventTimeFilterCondition"
|
|
45872
|
+
scout_compute_api_EventTimeFilterCondition.__module__ = "nominal_api.scout_compute_api"
|
|
45873
|
+
|
|
45874
|
+
|
|
45875
|
+
class scout_compute_api_EventType(ConjureEnumType):
|
|
45876
|
+
|
|
45877
|
+
INFO = 'INFO'
|
|
45878
|
+
'''INFO'''
|
|
45879
|
+
FLAG = 'FLAG'
|
|
45880
|
+
'''FLAG'''
|
|
45881
|
+
ERROR = 'ERROR'
|
|
45882
|
+
'''ERROR'''
|
|
45883
|
+
SUCCESS = 'SUCCESS'
|
|
45884
|
+
'''SUCCESS'''
|
|
45885
|
+
UNKNOWN = 'UNKNOWN'
|
|
45886
|
+
'''UNKNOWN'''
|
|
45887
|
+
|
|
45888
|
+
def __reduce_ex__(self, proto):
|
|
45889
|
+
return self.__class__, (self.name,)
|
|
45890
|
+
|
|
45891
|
+
|
|
45892
|
+
scout_compute_api_EventType.__name__ = "EventType"
|
|
45893
|
+
scout_compute_api_EventType.__qualname__ = "EventType"
|
|
45894
|
+
scout_compute_api_EventType.__module__ = "nominal_api.scout_compute_api"
|
|
45895
|
+
|
|
45896
|
+
|
|
45249
45897
|
class scout_compute_api_EventsSearchRanges(ConjureBeanType):
|
|
45250
45898
|
"""Produces a range series with a range for each event matching the query.
|
|
45251
45899
|
Throws if there are more than 1,000 results.
|
|
@@ -45254,17 +45902,17 @@ Throws if there are more than 1,000 results.
|
|
|
45254
45902
|
@builtins.classmethod
|
|
45255
45903
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
45256
45904
|
return {
|
|
45257
|
-
'
|
|
45905
|
+
'query': ConjureFieldDefinition('query', scout_compute_api_ComputeEventQuery)
|
|
45258
45906
|
}
|
|
45259
45907
|
|
|
45260
|
-
__slots__: List[str] = ['
|
|
45908
|
+
__slots__: List[str] = ['_query']
|
|
45261
45909
|
|
|
45262
|
-
def __init__(self,
|
|
45263
|
-
self.
|
|
45910
|
+
def __init__(self, query: "scout_compute_api_ComputeEventQuery") -> None:
|
|
45911
|
+
self._query = query
|
|
45264
45912
|
|
|
45265
45913
|
@builtins.property
|
|
45266
|
-
def
|
|
45267
|
-
return self.
|
|
45914
|
+
def query(self) -> "scout_compute_api_ComputeEventQuery":
|
|
45915
|
+
return self._query
|
|
45268
45916
|
|
|
45269
45917
|
|
|
45270
45918
|
scout_compute_api_EventsSearchRanges.__name__ = "EventsSearchRanges"
|
|
@@ -49756,6 +50404,35 @@ scout_compute_api_ProductSeries.__qualname__ = "ProductSeries"
|
|
|
49756
50404
|
scout_compute_api_ProductSeries.__module__ = "nominal_api.scout_compute_api"
|
|
49757
50405
|
|
|
49758
50406
|
|
|
50407
|
+
class scout_compute_api_Property(ConjureBeanType):
|
|
50408
|
+
|
|
50409
|
+
@builtins.classmethod
|
|
50410
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
50411
|
+
return {
|
|
50412
|
+
'name': ConjureFieldDefinition('name', scout_compute_api_StringConstant),
|
|
50413
|
+
'value': ConjureFieldDefinition('value', scout_compute_api_StringConstant)
|
|
50414
|
+
}
|
|
50415
|
+
|
|
50416
|
+
__slots__: List[str] = ['_name', '_value']
|
|
50417
|
+
|
|
50418
|
+
def __init__(self, name: "scout_compute_api_StringConstant", value: "scout_compute_api_StringConstant") -> None:
|
|
50419
|
+
self._name = name
|
|
50420
|
+
self._value = value
|
|
50421
|
+
|
|
50422
|
+
@builtins.property
|
|
50423
|
+
def name(self) -> "scout_compute_api_StringConstant":
|
|
50424
|
+
return self._name
|
|
50425
|
+
|
|
50426
|
+
@builtins.property
|
|
50427
|
+
def value(self) -> "scout_compute_api_StringConstant":
|
|
50428
|
+
return self._value
|
|
50429
|
+
|
|
50430
|
+
|
|
50431
|
+
scout_compute_api_Property.__name__ = "Property"
|
|
50432
|
+
scout_compute_api_Property.__qualname__ = "Property"
|
|
50433
|
+
scout_compute_api_Property.__module__ = "nominal_api.scout_compute_api"
|
|
50434
|
+
|
|
50435
|
+
|
|
49759
50436
|
class scout_compute_api_Range(ConjureBeanType):
|
|
49760
50437
|
"""The end represents the first timestamp that does not belong to the range. If absent, there is no known
|
|
49761
50438
|
end to the range.
|
|
@@ -51330,6 +52007,30 @@ scout_compute_api_ScatterSummarizationStrategyVisitor.__qualname__ = "ScatterSum
|
|
|
51330
52007
|
scout_compute_api_ScatterSummarizationStrategyVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
51331
52008
|
|
|
51332
52009
|
|
|
52010
|
+
class scout_compute_api_SearchEventOriginType(ConjureEnumType):
|
|
52011
|
+
|
|
52012
|
+
WORKBOOK = 'WORKBOOK'
|
|
52013
|
+
'''WORKBOOK'''
|
|
52014
|
+
TEMPLATE = 'TEMPLATE'
|
|
52015
|
+
'''TEMPLATE'''
|
|
52016
|
+
API = 'API'
|
|
52017
|
+
'''API'''
|
|
52018
|
+
DATA_REVIEW = 'DATA_REVIEW'
|
|
52019
|
+
'''DATA_REVIEW'''
|
|
52020
|
+
PROCEDURE = 'PROCEDURE'
|
|
52021
|
+
'''PROCEDURE'''
|
|
52022
|
+
UNKNOWN = 'UNKNOWN'
|
|
52023
|
+
'''UNKNOWN'''
|
|
52024
|
+
|
|
52025
|
+
def __reduce_ex__(self, proto):
|
|
52026
|
+
return self.__class__, (self.name,)
|
|
52027
|
+
|
|
52028
|
+
|
|
52029
|
+
scout_compute_api_SearchEventOriginType.__name__ = "SearchEventOriginType"
|
|
52030
|
+
scout_compute_api_SearchEventOriginType.__qualname__ = "SearchEventOriginType"
|
|
52031
|
+
scout_compute_api_SearchEventOriginType.__module__ = "nominal_api.scout_compute_api"
|
|
52032
|
+
|
|
52033
|
+
|
|
51333
52034
|
class scout_compute_api_SelectIndexFrom1dEnumArraySeries(ConjureBeanType):
|
|
51334
52035
|
"""For each timestamp, selects a single enum value from the 1D enum array at the specified index. If the index
|
|
51335
52036
|
is out of bounds for an array at a given timestamp, it is omitted.
|
|
@@ -57525,6 +58226,29 @@ scout_compute_resolved_api_EnumUnionSeriesNode.__qualname__ = "EnumUnionSeriesNo
|
|
|
57525
58226
|
scout_compute_resolved_api_EnumUnionSeriesNode.__module__ = "nominal_api.scout_compute_resolved_api"
|
|
57526
58227
|
|
|
57527
58228
|
|
|
58229
|
+
class scout_compute_resolved_api_EventSearchNode(ConjureBeanType):
|
|
58230
|
+
|
|
58231
|
+
@builtins.classmethod
|
|
58232
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
58233
|
+
return {
|
|
58234
|
+
'query': ConjureFieldDefinition('query', event_SearchQuery)
|
|
58235
|
+
}
|
|
58236
|
+
|
|
58237
|
+
__slots__: List[str] = ['_query']
|
|
58238
|
+
|
|
58239
|
+
def __init__(self, query: "event_SearchQuery") -> None:
|
|
58240
|
+
self._query = query
|
|
58241
|
+
|
|
58242
|
+
@builtins.property
|
|
58243
|
+
def query(self) -> "event_SearchQuery":
|
|
58244
|
+
return self._query
|
|
58245
|
+
|
|
58246
|
+
|
|
58247
|
+
scout_compute_resolved_api_EventSearchNode.__name__ = "EventSearchNode"
|
|
58248
|
+
scout_compute_resolved_api_EventSearchNode.__qualname__ = "EventSearchNode"
|
|
58249
|
+
scout_compute_resolved_api_EventSearchNode.__module__ = "nominal_api.scout_compute_resolved_api"
|
|
58250
|
+
|
|
58251
|
+
|
|
57528
58252
|
class scout_compute_resolved_api_ExponentialCurve(ConjureBeanType):
|
|
57529
58253
|
|
|
57530
58254
|
@builtins.classmethod
|
|
@@ -59913,6 +60637,7 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
59913
60637
|
_stability_detection: Optional["scout_compute_resolved_api_StabilityDetectionRangesNode"] = None
|
|
59914
60638
|
_threshold: Optional["scout_compute_resolved_api_ThresholdingRangesNode"] = None
|
|
59915
60639
|
_union_range: Optional["scout_compute_resolved_api_UnionRangesNode"] = None
|
|
60640
|
+
_event_search: Optional["scout_compute_resolved_api_EventSearchNode"] = None
|
|
59916
60641
|
|
|
59917
60642
|
@builtins.classmethod
|
|
59918
60643
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -59931,7 +60656,8 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
59931
60656
|
'stale_range': ConjureFieldDefinition('staleRange', scout_compute_resolved_api_StaleRangesNode),
|
|
59932
60657
|
'stability_detection': ConjureFieldDefinition('stabilityDetection', scout_compute_resolved_api_StabilityDetectionRangesNode),
|
|
59933
60658
|
'threshold': ConjureFieldDefinition('threshold', scout_compute_resolved_api_ThresholdingRangesNode),
|
|
59934
|
-
'union_range': ConjureFieldDefinition('unionRange', scout_compute_resolved_api_UnionRangesNode)
|
|
60659
|
+
'union_range': ConjureFieldDefinition('unionRange', scout_compute_resolved_api_UnionRangesNode),
|
|
60660
|
+
'event_search': ConjureFieldDefinition('eventSearch', scout_compute_resolved_api_EventSearchNode)
|
|
59935
60661
|
}
|
|
59936
60662
|
|
|
59937
60663
|
def __init__(
|
|
@@ -59951,10 +60677,11 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
59951
60677
|
stability_detection: Optional["scout_compute_resolved_api_StabilityDetectionRangesNode"] = None,
|
|
59952
60678
|
threshold: Optional["scout_compute_resolved_api_ThresholdingRangesNode"] = None,
|
|
59953
60679
|
union_range: Optional["scout_compute_resolved_api_UnionRangesNode"] = None,
|
|
60680
|
+
event_search: Optional["scout_compute_resolved_api_EventSearchNode"] = None,
|
|
59954
60681
|
type_of_union: Optional[str] = None
|
|
59955
60682
|
) -> None:
|
|
59956
60683
|
if type_of_union is None:
|
|
59957
|
-
if (duration_filter is not None) + (enum_equality is not None) + (enum_filter is not None) + (extrema is not None) + (intersect_range is not None) + (literal_ranges is not None) + (min_max_threshold is not None) + (not_ is not None) + (on_change is not None) + (range_numeric_aggregation is not None) + (series_crossover_ranges_node is not None) + (stale_range is not None) + (stability_detection is not None) + (threshold is not None) + (union_range is not None) != 1:
|
|
60684
|
+
if (duration_filter is not None) + (enum_equality is not None) + (enum_filter is not None) + (extrema is not None) + (intersect_range is not None) + (literal_ranges is not None) + (min_max_threshold is not None) + (not_ is not None) + (on_change is not None) + (range_numeric_aggregation is not None) + (series_crossover_ranges_node is not None) + (stale_range is not None) + (stability_detection is not None) + (threshold is not None) + (union_range is not None) + (event_search is not None) != 1:
|
|
59958
60685
|
raise ValueError('a union must contain a single member')
|
|
59959
60686
|
|
|
59960
60687
|
if duration_filter is not None:
|
|
@@ -60002,6 +60729,9 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
60002
60729
|
if union_range is not None:
|
|
60003
60730
|
self._union_range = union_range
|
|
60004
60731
|
self._type = 'unionRange'
|
|
60732
|
+
if event_search is not None:
|
|
60733
|
+
self._event_search = event_search
|
|
60734
|
+
self._type = 'eventSearch'
|
|
60005
60735
|
|
|
60006
60736
|
elif type_of_union == 'durationFilter':
|
|
60007
60737
|
if duration_filter is None:
|
|
@@ -60078,6 +60808,11 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
60078
60808
|
raise ValueError('a union value must not be None')
|
|
60079
60809
|
self._union_range = union_range
|
|
60080
60810
|
self._type = 'unionRange'
|
|
60811
|
+
elif type_of_union == 'eventSearch':
|
|
60812
|
+
if event_search is None:
|
|
60813
|
+
raise ValueError('a union value must not be None')
|
|
60814
|
+
self._event_search = event_search
|
|
60815
|
+
self._type = 'eventSearch'
|
|
60081
60816
|
|
|
60082
60817
|
@builtins.property
|
|
60083
60818
|
def duration_filter(self) -> Optional["scout_compute_resolved_api_DurationFilterRangesNode"]:
|
|
@@ -60139,6 +60874,10 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
60139
60874
|
def union_range(self) -> Optional["scout_compute_resolved_api_UnionRangesNode"]:
|
|
60140
60875
|
return self._union_range
|
|
60141
60876
|
|
|
60877
|
+
@builtins.property
|
|
60878
|
+
def event_search(self) -> Optional["scout_compute_resolved_api_EventSearchNode"]:
|
|
60879
|
+
return self._event_search
|
|
60880
|
+
|
|
60142
60881
|
def accept(self, visitor) -> Any:
|
|
60143
60882
|
if not isinstance(visitor, scout_compute_resolved_api_RangesNodeVisitor):
|
|
60144
60883
|
raise ValueError('{} is not an instance of scout_compute_resolved_api_RangesNodeVisitor'.format(visitor.__class__.__name__))
|
|
@@ -60172,6 +60911,8 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
60172
60911
|
return visitor._threshold(self.threshold)
|
|
60173
60912
|
if self._type == 'unionRange' and self.union_range is not None:
|
|
60174
60913
|
return visitor._union_range(self.union_range)
|
|
60914
|
+
if self._type == 'eventSearch' and self.event_search is not None:
|
|
60915
|
+
return visitor._event_search(self.event_search)
|
|
60175
60916
|
|
|
60176
60917
|
|
|
60177
60918
|
scout_compute_resolved_api_RangesNode.__name__ = "RangesNode"
|
|
@@ -60241,6 +60982,10 @@ class scout_compute_resolved_api_RangesNodeVisitor:
|
|
|
60241
60982
|
def _union_range(self, union_range: "scout_compute_resolved_api_UnionRangesNode") -> Any:
|
|
60242
60983
|
pass
|
|
60243
60984
|
|
|
60985
|
+
@abstractmethod
|
|
60986
|
+
def _event_search(self, event_search: "scout_compute_resolved_api_EventSearchNode") -> Any:
|
|
60987
|
+
pass
|
|
60988
|
+
|
|
60244
60989
|
|
|
60245
60990
|
scout_compute_resolved_api_RangesNodeVisitor.__name__ = "RangesNodeVisitor"
|
|
60246
60991
|
scout_compute_resolved_api_RangesNodeVisitor.__qualname__ = "RangesNodeVisitor"
|
|
@@ -60,6 +60,8 @@ from .._impl import (
|
|
|
60
60
|
scout_compute_api_CompactEnumPoint as CompactEnumPoint,
|
|
61
61
|
scout_compute_api_ComputableNode as ComputableNode,
|
|
62
62
|
scout_compute_api_ComputableNodeVisitor as ComputableNodeVisitor,
|
|
63
|
+
scout_compute_api_ComputeEventQuery as ComputeEventQuery,
|
|
64
|
+
scout_compute_api_ComputeEventQueryVisitor as ComputeEventQueryVisitor,
|
|
63
65
|
scout_compute_api_ComputeNode as ComputeNode,
|
|
64
66
|
scout_compute_api_ComputeNodeFromReferenceRequest as ComputeNodeFromReferenceRequest,
|
|
65
67
|
scout_compute_api_ComputeNodeRequest as ComputeNodeRequest,
|
|
@@ -128,6 +130,10 @@ from .._impl import (
|
|
|
128
130
|
scout_compute_api_ErrorCode as ErrorCode,
|
|
129
131
|
scout_compute_api_ErrorResult as ErrorResult,
|
|
130
132
|
scout_compute_api_ErrorType as ErrorType,
|
|
133
|
+
scout_compute_api_EventDispositionStatus as EventDispositionStatus,
|
|
134
|
+
scout_compute_api_EventTimeFilter as EventTimeFilter,
|
|
135
|
+
scout_compute_api_EventTimeFilterCondition as EventTimeFilterCondition,
|
|
136
|
+
scout_compute_api_EventType as EventType,
|
|
131
137
|
scout_compute_api_EventsSearchRanges as EventsSearchRanges,
|
|
132
138
|
scout_compute_api_ExcludeNegativeValues as ExcludeNegativeValues,
|
|
133
139
|
scout_compute_api_ExponentialCurve as ExponentialCurve,
|
|
@@ -247,6 +253,7 @@ from .._impl import (
|
|
|
247
253
|
scout_compute_api_PowerCurve as PowerCurve,
|
|
248
254
|
scout_compute_api_PowerResultDetails as PowerResultDetails,
|
|
249
255
|
scout_compute_api_ProductSeries as ProductSeries,
|
|
256
|
+
scout_compute_api_Property as Property,
|
|
250
257
|
scout_compute_api_Range as Range,
|
|
251
258
|
scout_compute_api_RangeAggregation as RangeAggregation,
|
|
252
259
|
scout_compute_api_RangeAggregationOperation as RangeAggregationOperation,
|
|
@@ -274,6 +281,7 @@ from .._impl import (
|
|
|
274
281
|
scout_compute_api_ScatterFitOptions as ScatterFitOptions,
|
|
275
282
|
scout_compute_api_ScatterSummarizationStrategy as ScatterSummarizationStrategy,
|
|
276
283
|
scout_compute_api_ScatterSummarizationStrategyVisitor as ScatterSummarizationStrategyVisitor,
|
|
284
|
+
scout_compute_api_SearchEventOriginType as SearchEventOriginType,
|
|
277
285
|
scout_compute_api_SelectIndexFrom1dEnumArraySeries as SelectIndexFrom1dEnumArraySeries,
|
|
278
286
|
scout_compute_api_SelectIndexFrom1dNumericArraySeries as SelectIndexFrom1dNumericArraySeries,
|
|
279
287
|
scout_compute_api_SelectNewestPointsSeries as SelectNewestPointsSeries,
|
|
@@ -404,6 +412,8 @@ __all__ = [
|
|
|
404
412
|
'CompactEnumPoint',
|
|
405
413
|
'ComputableNode',
|
|
406
414
|
'ComputableNodeVisitor',
|
|
415
|
+
'ComputeEventQuery',
|
|
416
|
+
'ComputeEventQueryVisitor',
|
|
407
417
|
'ComputeNode',
|
|
408
418
|
'ComputeNodeVisitor',
|
|
409
419
|
'ComputeNodeFromReferenceRequest',
|
|
@@ -471,6 +481,10 @@ __all__ = [
|
|
|
471
481
|
'ErrorCode',
|
|
472
482
|
'ErrorResult',
|
|
473
483
|
'ErrorType',
|
|
484
|
+
'EventDispositionStatus',
|
|
485
|
+
'EventTimeFilter',
|
|
486
|
+
'EventTimeFilterCondition',
|
|
487
|
+
'EventType',
|
|
474
488
|
'EventsSearchRanges',
|
|
475
489
|
'ExcludeNegativeValues',
|
|
476
490
|
'ExponentialCurve',
|
|
@@ -590,6 +604,7 @@ __all__ = [
|
|
|
590
604
|
'PowerCurve',
|
|
591
605
|
'PowerResultDetails',
|
|
592
606
|
'ProductSeries',
|
|
607
|
+
'Property',
|
|
593
608
|
'Range',
|
|
594
609
|
'RangeAggregation',
|
|
595
610
|
'RangeAggregationOperation',
|
|
@@ -617,6 +632,7 @@ __all__ = [
|
|
|
617
632
|
'ScatterFitOptions',
|
|
618
633
|
'ScatterSummarizationStrategy',
|
|
619
634
|
'ScatterSummarizationStrategyVisitor',
|
|
635
|
+
'SearchEventOriginType',
|
|
620
636
|
'SelectIndexFrom1dEnumArraySeries',
|
|
621
637
|
'SelectIndexFrom1dNumericArraySeries',
|
|
622
638
|
'SelectNewestPointsSeries',
|
|
@@ -41,6 +41,7 @@ from .._impl import (
|
|
|
41
41
|
scout_compute_resolved_api_EnumTimeRangeFilterSeriesNode as EnumTimeRangeFilterSeriesNode,
|
|
42
42
|
scout_compute_resolved_api_EnumTimeShiftSeriesNode as EnumTimeShiftSeriesNode,
|
|
43
43
|
scout_compute_resolved_api_EnumUnionSeriesNode as EnumUnionSeriesNode,
|
|
44
|
+
scout_compute_resolved_api_EventSearchNode as EventSearchNode,
|
|
44
45
|
scout_compute_resolved_api_ExponentialCurve as ExponentialCurve,
|
|
45
46
|
scout_compute_resolved_api_ExtremaRangesNode as ExtremaRangesNode,
|
|
46
47
|
scout_compute_resolved_api_FftNode as FftNode,
|
|
@@ -199,6 +200,7 @@ __all__ = [
|
|
|
199
200
|
'EnumTimeRangeFilterSeriesNode',
|
|
200
201
|
'EnumTimeShiftSeriesNode',
|
|
201
202
|
'EnumUnionSeriesNode',
|
|
203
|
+
'EventSearchNode',
|
|
202
204
|
'ExponentialCurve',
|
|
203
205
|
'ExtremaRangesNode',
|
|
204
206
|
'FftNode',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
|
2
|
-
nominal_api/_impl.py,sha256=
|
|
1
|
+
nominal_api/__init__.py,sha256=tPffu2muQP5kvUkKmzY5jah5YuTO8Qy7OzRy6OuezUk,2064
|
|
2
|
+
nominal_api/_impl.py,sha256=Znj--_aUUe7f4udJnipC-Xb64ZTTejTfnYNeF7YO40c,3660503
|
|
3
3
|
nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
|
4
4
|
nominal_api/api/__init__.py,sha256=ZiGjcYwIBCrZR5pPqyqX2ggRJmVcSlOCazMtF2xCZzw,2171
|
|
5
5
|
nominal_api/api_ids/__init__.py,sha256=sxqN5dMk6bOx0SKOd0ANG3_kmx1VtdSVotzEGn_q6sE,114
|
|
@@ -33,9 +33,9 @@ nominal_api/scout_checklistexecution_api/__init__.py,sha256=iVeUjPTlbpQ3vlQkQjHr
|
|
|
33
33
|
nominal_api/scout_checks_api/__init__.py,sha256=uCmiNrVwLDlkg8YnpP-uZr9nFFFN52sM644Qo6YNy3k,6972
|
|
34
34
|
nominal_api/scout_comparisonnotebook_api/__init__.py,sha256=F5cQo_KqeTpFwqKBDV-iEjrND7xQgkycC1yocpxq1Qk,6277
|
|
35
35
|
nominal_api/scout_comparisonrun_api/__init__.py,sha256=y5SlDoXvskyTKjg2O8o3cBhGSN-KA7iVlVjyy3vb3Co,652
|
|
36
|
-
nominal_api/scout_compute_api/__init__.py,sha256=
|
|
36
|
+
nominal_api/scout_compute_api/__init__.py,sha256=VLqiYesvfOM5RN025jRsjKPyHK8noFltnh-Zb6U_TUE,31627
|
|
37
37
|
nominal_api/scout_compute_api_deprecated/__init__.py,sha256=JrZKbt1ulYECTdUSkXn6On22Alu_cPUBjCRWTN3ctxk,5041
|
|
38
|
-
nominal_api/scout_compute_resolved_api/__init__.py,sha256=
|
|
38
|
+
nominal_api/scout_compute_resolved_api/__init__.py,sha256=rg1zoc43zvVWwsLRglIuUMC3wcQS5zbHE0xP2omuLtU,16651
|
|
39
39
|
nominal_api/scout_dataexport_api/__init__.py,sha256=CF2vuo8kUXLJ4B7w95STrU0UMoBGuziacH5Eo3uxYf4,2068
|
|
40
40
|
nominal_api/scout_datareview_api/__init__.py,sha256=ITQR6pdPseU9vS2bKDeleafiBhurtHmcHeKz_6J8Ab8,12229
|
|
41
41
|
nominal_api/scout_datasource/__init__.py,sha256=Z1Msu1Daf8GlLuM3w5imyB-6DhTNZojxI6xpH1sSvhM,141
|
|
@@ -77,7 +77,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=BwdqHLq_98LOsRV14JA3
|
|
|
77
77
|
nominal_api/timeseries_seriescache/__init__.py,sha256=hL5hN8jKLEGE_fDiZzdASmWIrRjU6tncpmDeuc_47P4,150
|
|
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
|
-
nominal_api-0.
|
|
81
|
-
nominal_api-0.
|
|
82
|
-
nominal_api-0.
|
|
83
|
-
nominal_api-0.
|
|
80
|
+
nominal_api-0.834.1.dist-info/METADATA,sha256=SA8swV7vDw2_bnTrQ3osAHurk29gY8Q1NUz0InnHfmc,199
|
|
81
|
+
nominal_api-0.834.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
82
|
+
nominal_api-0.834.1.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
83
|
+
nominal_api-0.834.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|