nominal-api 0.832.0__py3-none-any.whl → 0.832.2__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.832.0.dist-info → nominal_api-0.832.2.dist-info}/METADATA +1 -1
- {nominal_api-0.832.0.dist-info → nominal_api-0.832.2.dist-info}/RECORD +8 -8
- {nominal_api-0.832.0.dist-info → nominal_api-0.832.2.dist-info}/WHEEL +0 -0
- {nominal_api-0.832.0.dist-info → nominal_api-0.832.2.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -41773,6 +41773,551 @@ scout_compute_api_ComputableNodeVisitor.__qualname__ = "ComputableNodeVisitor"
|
|
|
41773
41773
|
scout_compute_api_ComputableNodeVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
41774
41774
|
|
|
41775
41775
|
|
|
41776
|
+
class scout_compute_api_ComputeEventQuery(ConjureUnionType):
|
|
41777
|
+
_search_text: Optional[str] = None
|
|
41778
|
+
_after: Optional["scout_compute_api_TimestampConstant"] = None
|
|
41779
|
+
_before: Optional["scout_compute_api_TimestampConstant"] = None
|
|
41780
|
+
_advanced_time_filter: Optional["scout_compute_api_EventTimeFilter"] = None
|
|
41781
|
+
_asset: Optional["scout_compute_api_StringConstant"] = None
|
|
41782
|
+
_template: Optional["scout_compute_api_StringConstant"] = None
|
|
41783
|
+
_workbook: Optional["scout_compute_api_StringConstant"] = None
|
|
41784
|
+
_data_review: Optional["scout_compute_api_StringConstant"] = None
|
|
41785
|
+
_origin_type: Optional["scout_compute_api_SearchEventOriginType"] = None
|
|
41786
|
+
_data_review_check: Optional["scout_compute_api_StringConstant"] = None
|
|
41787
|
+
_disposition_status: Optional["scout_compute_api_EventDispositionStatus"] = None
|
|
41788
|
+
_priority: Optional["scout_compute_api_StringConstant"] = None
|
|
41789
|
+
_assignee: Optional["scout_compute_api_StringConstant"] = None
|
|
41790
|
+
_event_type: Optional["scout_compute_api_EventType"] = None
|
|
41791
|
+
_created_by: Optional["scout_compute_api_StringConstant"] = None
|
|
41792
|
+
_label: Optional["scout_compute_api_StringConstant"] = None
|
|
41793
|
+
_property: Optional["scout_compute_api_Property"] = None
|
|
41794
|
+
_and_: Optional[List["scout_compute_api_ComputeEventQuery"]] = None
|
|
41795
|
+
_or_: Optional[List["scout_compute_api_ComputeEventQuery"]] = None
|
|
41796
|
+
_not_: Optional["scout_compute_api_ComputeEventQuery"] = None
|
|
41797
|
+
_workspace: Optional["scout_compute_api_StringConstant"] = None
|
|
41798
|
+
_procedure: Optional["scout_compute_api_StringConstant"] = None
|
|
41799
|
+
_procedure_execution: Optional["scout_compute_api_StringConstant"] = None
|
|
41800
|
+
_step_id: Optional["scout_compute_api_StringConstant"] = None
|
|
41801
|
+
|
|
41802
|
+
@builtins.classmethod
|
|
41803
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
41804
|
+
return {
|
|
41805
|
+
'search_text': ConjureFieldDefinition('searchText', str),
|
|
41806
|
+
'after': ConjureFieldDefinition('after', scout_compute_api_TimestampConstant),
|
|
41807
|
+
'before': ConjureFieldDefinition('before', scout_compute_api_TimestampConstant),
|
|
41808
|
+
'advanced_time_filter': ConjureFieldDefinition('advancedTimeFilter', scout_compute_api_EventTimeFilter),
|
|
41809
|
+
'asset': ConjureFieldDefinition('asset', scout_compute_api_StringConstant),
|
|
41810
|
+
'template': ConjureFieldDefinition('template', scout_compute_api_StringConstant),
|
|
41811
|
+
'workbook': ConjureFieldDefinition('workbook', scout_compute_api_StringConstant),
|
|
41812
|
+
'data_review': ConjureFieldDefinition('dataReview', scout_compute_api_StringConstant),
|
|
41813
|
+
'origin_type': ConjureFieldDefinition('originType', scout_compute_api_SearchEventOriginType),
|
|
41814
|
+
'data_review_check': ConjureFieldDefinition('dataReviewCheck', scout_compute_api_StringConstant),
|
|
41815
|
+
'disposition_status': ConjureFieldDefinition('dispositionStatus', scout_compute_api_EventDispositionStatus),
|
|
41816
|
+
'priority': ConjureFieldDefinition('priority', scout_compute_api_StringConstant),
|
|
41817
|
+
'assignee': ConjureFieldDefinition('assignee', scout_compute_api_StringConstant),
|
|
41818
|
+
'event_type': ConjureFieldDefinition('eventType', scout_compute_api_EventType),
|
|
41819
|
+
'created_by': ConjureFieldDefinition('createdBy', scout_compute_api_StringConstant),
|
|
41820
|
+
'label': ConjureFieldDefinition('label', scout_compute_api_StringConstant),
|
|
41821
|
+
'property': ConjureFieldDefinition('property', scout_compute_api_Property),
|
|
41822
|
+
'and_': ConjureFieldDefinition('and', List[scout_compute_api_ComputeEventQuery]),
|
|
41823
|
+
'or_': ConjureFieldDefinition('or', List[scout_compute_api_ComputeEventQuery]),
|
|
41824
|
+
'not_': ConjureFieldDefinition('not', scout_compute_api_ComputeEventQuery),
|
|
41825
|
+
'workspace': ConjureFieldDefinition('workspace', scout_compute_api_StringConstant),
|
|
41826
|
+
'procedure': ConjureFieldDefinition('procedure', scout_compute_api_StringConstant),
|
|
41827
|
+
'procedure_execution': ConjureFieldDefinition('procedureExecution', scout_compute_api_StringConstant),
|
|
41828
|
+
'step_id': ConjureFieldDefinition('stepId', scout_compute_api_StringConstant)
|
|
41829
|
+
}
|
|
41830
|
+
|
|
41831
|
+
def __init__(
|
|
41832
|
+
self,
|
|
41833
|
+
search_text: Optional[str] = None,
|
|
41834
|
+
after: Optional["scout_compute_api_TimestampConstant"] = None,
|
|
41835
|
+
before: Optional["scout_compute_api_TimestampConstant"] = None,
|
|
41836
|
+
advanced_time_filter: Optional["scout_compute_api_EventTimeFilter"] = None,
|
|
41837
|
+
asset: Optional["scout_compute_api_StringConstant"] = None,
|
|
41838
|
+
template: Optional["scout_compute_api_StringConstant"] = None,
|
|
41839
|
+
workbook: Optional["scout_compute_api_StringConstant"] = None,
|
|
41840
|
+
data_review: Optional["scout_compute_api_StringConstant"] = None,
|
|
41841
|
+
origin_type: Optional["scout_compute_api_SearchEventOriginType"] = None,
|
|
41842
|
+
data_review_check: Optional["scout_compute_api_StringConstant"] = None,
|
|
41843
|
+
disposition_status: Optional["scout_compute_api_EventDispositionStatus"] = None,
|
|
41844
|
+
priority: Optional["scout_compute_api_StringConstant"] = None,
|
|
41845
|
+
assignee: Optional["scout_compute_api_StringConstant"] = None,
|
|
41846
|
+
event_type: Optional["scout_compute_api_EventType"] = None,
|
|
41847
|
+
created_by: Optional["scout_compute_api_StringConstant"] = None,
|
|
41848
|
+
label: Optional["scout_compute_api_StringConstant"] = None,
|
|
41849
|
+
property: Optional["scout_compute_api_Property"] = None,
|
|
41850
|
+
and_: Optional[List["scout_compute_api_ComputeEventQuery"]] = None,
|
|
41851
|
+
or_: Optional[List["scout_compute_api_ComputeEventQuery"]] = None,
|
|
41852
|
+
not_: Optional["scout_compute_api_ComputeEventQuery"] = None,
|
|
41853
|
+
workspace: Optional["scout_compute_api_StringConstant"] = None,
|
|
41854
|
+
procedure: Optional["scout_compute_api_StringConstant"] = None,
|
|
41855
|
+
procedure_execution: Optional["scout_compute_api_StringConstant"] = None,
|
|
41856
|
+
step_id: Optional["scout_compute_api_StringConstant"] = None,
|
|
41857
|
+
type_of_union: Optional[str] = None
|
|
41858
|
+
) -> None:
|
|
41859
|
+
if type_of_union is None:
|
|
41860
|
+
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:
|
|
41861
|
+
raise ValueError('a union must contain a single member')
|
|
41862
|
+
|
|
41863
|
+
if search_text is not None:
|
|
41864
|
+
self._search_text = search_text
|
|
41865
|
+
self._type = 'searchText'
|
|
41866
|
+
if after is not None:
|
|
41867
|
+
self._after = after
|
|
41868
|
+
self._type = 'after'
|
|
41869
|
+
if before is not None:
|
|
41870
|
+
self._before = before
|
|
41871
|
+
self._type = 'before'
|
|
41872
|
+
if advanced_time_filter is not None:
|
|
41873
|
+
self._advanced_time_filter = advanced_time_filter
|
|
41874
|
+
self._type = 'advancedTimeFilter'
|
|
41875
|
+
if asset is not None:
|
|
41876
|
+
self._asset = asset
|
|
41877
|
+
self._type = 'asset'
|
|
41878
|
+
if template is not None:
|
|
41879
|
+
self._template = template
|
|
41880
|
+
self._type = 'template'
|
|
41881
|
+
if workbook is not None:
|
|
41882
|
+
self._workbook = workbook
|
|
41883
|
+
self._type = 'workbook'
|
|
41884
|
+
if data_review is not None:
|
|
41885
|
+
self._data_review = data_review
|
|
41886
|
+
self._type = 'dataReview'
|
|
41887
|
+
if origin_type is not None:
|
|
41888
|
+
self._origin_type = origin_type
|
|
41889
|
+
self._type = 'originType'
|
|
41890
|
+
if data_review_check is not None:
|
|
41891
|
+
self._data_review_check = data_review_check
|
|
41892
|
+
self._type = 'dataReviewCheck'
|
|
41893
|
+
if disposition_status is not None:
|
|
41894
|
+
self._disposition_status = disposition_status
|
|
41895
|
+
self._type = 'dispositionStatus'
|
|
41896
|
+
if priority is not None:
|
|
41897
|
+
self._priority = priority
|
|
41898
|
+
self._type = 'priority'
|
|
41899
|
+
if assignee is not None:
|
|
41900
|
+
self._assignee = assignee
|
|
41901
|
+
self._type = 'assignee'
|
|
41902
|
+
if event_type is not None:
|
|
41903
|
+
self._event_type = event_type
|
|
41904
|
+
self._type = 'eventType'
|
|
41905
|
+
if created_by is not None:
|
|
41906
|
+
self._created_by = created_by
|
|
41907
|
+
self._type = 'createdBy'
|
|
41908
|
+
if label is not None:
|
|
41909
|
+
self._label = label
|
|
41910
|
+
self._type = 'label'
|
|
41911
|
+
if property is not None:
|
|
41912
|
+
self._property = property
|
|
41913
|
+
self._type = 'property'
|
|
41914
|
+
if and_ is not None:
|
|
41915
|
+
self._and_ = and_
|
|
41916
|
+
self._type = 'and'
|
|
41917
|
+
if or_ is not None:
|
|
41918
|
+
self._or_ = or_
|
|
41919
|
+
self._type = 'or'
|
|
41920
|
+
if not_ is not None:
|
|
41921
|
+
self._not_ = not_
|
|
41922
|
+
self._type = 'not'
|
|
41923
|
+
if workspace is not None:
|
|
41924
|
+
self._workspace = workspace
|
|
41925
|
+
self._type = 'workspace'
|
|
41926
|
+
if procedure is not None:
|
|
41927
|
+
self._procedure = procedure
|
|
41928
|
+
self._type = 'procedure'
|
|
41929
|
+
if procedure_execution is not None:
|
|
41930
|
+
self._procedure_execution = procedure_execution
|
|
41931
|
+
self._type = 'procedureExecution'
|
|
41932
|
+
if step_id is not None:
|
|
41933
|
+
self._step_id = step_id
|
|
41934
|
+
self._type = 'stepId'
|
|
41935
|
+
|
|
41936
|
+
elif type_of_union == 'searchText':
|
|
41937
|
+
if search_text is None:
|
|
41938
|
+
raise ValueError('a union value must not be None')
|
|
41939
|
+
self._search_text = search_text
|
|
41940
|
+
self._type = 'searchText'
|
|
41941
|
+
elif type_of_union == 'after':
|
|
41942
|
+
if after is None:
|
|
41943
|
+
raise ValueError('a union value must not be None')
|
|
41944
|
+
self._after = after
|
|
41945
|
+
self._type = 'after'
|
|
41946
|
+
elif type_of_union == 'before':
|
|
41947
|
+
if before is None:
|
|
41948
|
+
raise ValueError('a union value must not be None')
|
|
41949
|
+
self._before = before
|
|
41950
|
+
self._type = 'before'
|
|
41951
|
+
elif type_of_union == 'advancedTimeFilter':
|
|
41952
|
+
if advanced_time_filter is None:
|
|
41953
|
+
raise ValueError('a union value must not be None')
|
|
41954
|
+
self._advanced_time_filter = advanced_time_filter
|
|
41955
|
+
self._type = 'advancedTimeFilter'
|
|
41956
|
+
elif type_of_union == 'asset':
|
|
41957
|
+
if asset is None:
|
|
41958
|
+
raise ValueError('a union value must not be None')
|
|
41959
|
+
self._asset = asset
|
|
41960
|
+
self._type = 'asset'
|
|
41961
|
+
elif type_of_union == 'template':
|
|
41962
|
+
if template is None:
|
|
41963
|
+
raise ValueError('a union value must not be None')
|
|
41964
|
+
self._template = template
|
|
41965
|
+
self._type = 'template'
|
|
41966
|
+
elif type_of_union == 'workbook':
|
|
41967
|
+
if workbook is None:
|
|
41968
|
+
raise ValueError('a union value must not be None')
|
|
41969
|
+
self._workbook = workbook
|
|
41970
|
+
self._type = 'workbook'
|
|
41971
|
+
elif type_of_union == 'dataReview':
|
|
41972
|
+
if data_review is None:
|
|
41973
|
+
raise ValueError('a union value must not be None')
|
|
41974
|
+
self._data_review = data_review
|
|
41975
|
+
self._type = 'dataReview'
|
|
41976
|
+
elif type_of_union == 'originType':
|
|
41977
|
+
if origin_type is None:
|
|
41978
|
+
raise ValueError('a union value must not be None')
|
|
41979
|
+
self._origin_type = origin_type
|
|
41980
|
+
self._type = 'originType'
|
|
41981
|
+
elif type_of_union == 'dataReviewCheck':
|
|
41982
|
+
if data_review_check is None:
|
|
41983
|
+
raise ValueError('a union value must not be None')
|
|
41984
|
+
self._data_review_check = data_review_check
|
|
41985
|
+
self._type = 'dataReviewCheck'
|
|
41986
|
+
elif type_of_union == 'dispositionStatus':
|
|
41987
|
+
if disposition_status is None:
|
|
41988
|
+
raise ValueError('a union value must not be None')
|
|
41989
|
+
self._disposition_status = disposition_status
|
|
41990
|
+
self._type = 'dispositionStatus'
|
|
41991
|
+
elif type_of_union == 'priority':
|
|
41992
|
+
if priority is None:
|
|
41993
|
+
raise ValueError('a union value must not be None')
|
|
41994
|
+
self._priority = priority
|
|
41995
|
+
self._type = 'priority'
|
|
41996
|
+
elif type_of_union == 'assignee':
|
|
41997
|
+
if assignee is None:
|
|
41998
|
+
raise ValueError('a union value must not be None')
|
|
41999
|
+
self._assignee = assignee
|
|
42000
|
+
self._type = 'assignee'
|
|
42001
|
+
elif type_of_union == 'eventType':
|
|
42002
|
+
if event_type is None:
|
|
42003
|
+
raise ValueError('a union value must not be None')
|
|
42004
|
+
self._event_type = event_type
|
|
42005
|
+
self._type = 'eventType'
|
|
42006
|
+
elif type_of_union == 'createdBy':
|
|
42007
|
+
if created_by is None:
|
|
42008
|
+
raise ValueError('a union value must not be None')
|
|
42009
|
+
self._created_by = created_by
|
|
42010
|
+
self._type = 'createdBy'
|
|
42011
|
+
elif type_of_union == 'label':
|
|
42012
|
+
if label is None:
|
|
42013
|
+
raise ValueError('a union value must not be None')
|
|
42014
|
+
self._label = label
|
|
42015
|
+
self._type = 'label'
|
|
42016
|
+
elif type_of_union == 'property':
|
|
42017
|
+
if property is None:
|
|
42018
|
+
raise ValueError('a union value must not be None')
|
|
42019
|
+
self._property = property
|
|
42020
|
+
self._type = 'property'
|
|
42021
|
+
elif type_of_union == 'and':
|
|
42022
|
+
if and_ is None:
|
|
42023
|
+
raise ValueError('a union value must not be None')
|
|
42024
|
+
self._and_ = and_
|
|
42025
|
+
self._type = 'and'
|
|
42026
|
+
elif type_of_union == 'or':
|
|
42027
|
+
if or_ is None:
|
|
42028
|
+
raise ValueError('a union value must not be None')
|
|
42029
|
+
self._or_ = or_
|
|
42030
|
+
self._type = 'or'
|
|
42031
|
+
elif type_of_union == 'not':
|
|
42032
|
+
if not_ is None:
|
|
42033
|
+
raise ValueError('a union value must not be None')
|
|
42034
|
+
self._not_ = not_
|
|
42035
|
+
self._type = 'not'
|
|
42036
|
+
elif type_of_union == 'workspace':
|
|
42037
|
+
if workspace is None:
|
|
42038
|
+
raise ValueError('a union value must not be None')
|
|
42039
|
+
self._workspace = workspace
|
|
42040
|
+
self._type = 'workspace'
|
|
42041
|
+
elif type_of_union == 'procedure':
|
|
42042
|
+
if procedure is None:
|
|
42043
|
+
raise ValueError('a union value must not be None')
|
|
42044
|
+
self._procedure = procedure
|
|
42045
|
+
self._type = 'procedure'
|
|
42046
|
+
elif type_of_union == 'procedureExecution':
|
|
42047
|
+
if procedure_execution is None:
|
|
42048
|
+
raise ValueError('a union value must not be None')
|
|
42049
|
+
self._procedure_execution = procedure_execution
|
|
42050
|
+
self._type = 'procedureExecution'
|
|
42051
|
+
elif type_of_union == 'stepId':
|
|
42052
|
+
if step_id is None:
|
|
42053
|
+
raise ValueError('a union value must not be None')
|
|
42054
|
+
self._step_id = step_id
|
|
42055
|
+
self._type = 'stepId'
|
|
42056
|
+
|
|
42057
|
+
@builtins.property
|
|
42058
|
+
def search_text(self) -> Optional[str]:
|
|
42059
|
+
return self._search_text
|
|
42060
|
+
|
|
42061
|
+
@builtins.property
|
|
42062
|
+
def after(self) -> Optional["scout_compute_api_TimestampConstant"]:
|
|
42063
|
+
"""Filters to events after this timestamp, exclusive.
|
|
42064
|
+
This includes events that start before, but end after this time.
|
|
42065
|
+
"""
|
|
42066
|
+
return self._after
|
|
42067
|
+
|
|
42068
|
+
@builtins.property
|
|
42069
|
+
def before(self) -> Optional["scout_compute_api_TimestampConstant"]:
|
|
42070
|
+
"""Filters to events before this timestamp, exclusive.
|
|
42071
|
+
This includes events that start before, but end after this time.
|
|
42072
|
+
"""
|
|
42073
|
+
return self._before
|
|
42074
|
+
|
|
42075
|
+
@builtins.property
|
|
42076
|
+
def advanced_time_filter(self) -> Optional["scout_compute_api_EventTimeFilter"]:
|
|
42077
|
+
return self._advanced_time_filter
|
|
42078
|
+
|
|
42079
|
+
@builtins.property
|
|
42080
|
+
def asset(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42081
|
+
return self._asset
|
|
42082
|
+
|
|
42083
|
+
@builtins.property
|
|
42084
|
+
def template(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42085
|
+
return self._template
|
|
42086
|
+
|
|
42087
|
+
@builtins.property
|
|
42088
|
+
def workbook(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42089
|
+
return self._workbook
|
|
42090
|
+
|
|
42091
|
+
@builtins.property
|
|
42092
|
+
def data_review(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42093
|
+
return self._data_review
|
|
42094
|
+
|
|
42095
|
+
@builtins.property
|
|
42096
|
+
def origin_type(self) -> Optional["scout_compute_api_SearchEventOriginType"]:
|
|
42097
|
+
return self._origin_type
|
|
42098
|
+
|
|
42099
|
+
@builtins.property
|
|
42100
|
+
def data_review_check(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42101
|
+
return self._data_review_check
|
|
42102
|
+
|
|
42103
|
+
@builtins.property
|
|
42104
|
+
def disposition_status(self) -> Optional["scout_compute_api_EventDispositionStatus"]:
|
|
42105
|
+
return self._disposition_status
|
|
42106
|
+
|
|
42107
|
+
@builtins.property
|
|
42108
|
+
def priority(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42109
|
+
return self._priority
|
|
42110
|
+
|
|
42111
|
+
@builtins.property
|
|
42112
|
+
def assignee(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42113
|
+
return self._assignee
|
|
42114
|
+
|
|
42115
|
+
@builtins.property
|
|
42116
|
+
def event_type(self) -> Optional["scout_compute_api_EventType"]:
|
|
42117
|
+
return self._event_type
|
|
42118
|
+
|
|
42119
|
+
@builtins.property
|
|
42120
|
+
def created_by(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42121
|
+
return self._created_by
|
|
42122
|
+
|
|
42123
|
+
@builtins.property
|
|
42124
|
+
def label(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42125
|
+
return self._label
|
|
42126
|
+
|
|
42127
|
+
@builtins.property
|
|
42128
|
+
def property(self) -> Optional["scout_compute_api_Property"]:
|
|
42129
|
+
return self._property
|
|
42130
|
+
|
|
42131
|
+
@builtins.property
|
|
42132
|
+
def and_(self) -> Optional[List["scout_compute_api_ComputeEventQuery"]]:
|
|
42133
|
+
return self._and_
|
|
42134
|
+
|
|
42135
|
+
@builtins.property
|
|
42136
|
+
def or_(self) -> Optional[List["scout_compute_api_ComputeEventQuery"]]:
|
|
42137
|
+
return self._or_
|
|
42138
|
+
|
|
42139
|
+
@builtins.property
|
|
42140
|
+
def not_(self) -> Optional["scout_compute_api_ComputeEventQuery"]:
|
|
42141
|
+
return self._not_
|
|
42142
|
+
|
|
42143
|
+
@builtins.property
|
|
42144
|
+
def workspace(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42145
|
+
return self._workspace
|
|
42146
|
+
|
|
42147
|
+
@builtins.property
|
|
42148
|
+
def procedure(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42149
|
+
return self._procedure
|
|
42150
|
+
|
|
42151
|
+
@builtins.property
|
|
42152
|
+
def procedure_execution(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42153
|
+
return self._procedure_execution
|
|
42154
|
+
|
|
42155
|
+
@builtins.property
|
|
42156
|
+
def step_id(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
42157
|
+
return self._step_id
|
|
42158
|
+
|
|
42159
|
+
def accept(self, visitor) -> Any:
|
|
42160
|
+
if not isinstance(visitor, scout_compute_api_ComputeEventQueryVisitor):
|
|
42161
|
+
raise ValueError('{} is not an instance of scout_compute_api_ComputeEventQueryVisitor'.format(visitor.__class__.__name__))
|
|
42162
|
+
if self._type == 'searchText' and self.search_text is not None:
|
|
42163
|
+
return visitor._search_text(self.search_text)
|
|
42164
|
+
if self._type == 'after' and self.after is not None:
|
|
42165
|
+
return visitor._after(self.after)
|
|
42166
|
+
if self._type == 'before' and self.before is not None:
|
|
42167
|
+
return visitor._before(self.before)
|
|
42168
|
+
if self._type == 'advancedTimeFilter' and self.advanced_time_filter is not None:
|
|
42169
|
+
return visitor._advanced_time_filter(self.advanced_time_filter)
|
|
42170
|
+
if self._type == 'asset' and self.asset is not None:
|
|
42171
|
+
return visitor._asset(self.asset)
|
|
42172
|
+
if self._type == 'template' and self.template is not None:
|
|
42173
|
+
return visitor._template(self.template)
|
|
42174
|
+
if self._type == 'workbook' and self.workbook is not None:
|
|
42175
|
+
return visitor._workbook(self.workbook)
|
|
42176
|
+
if self._type == 'dataReview' and self.data_review is not None:
|
|
42177
|
+
return visitor._data_review(self.data_review)
|
|
42178
|
+
if self._type == 'originType' and self.origin_type is not None:
|
|
42179
|
+
return visitor._origin_type(self.origin_type)
|
|
42180
|
+
if self._type == 'dataReviewCheck' and self.data_review_check is not None:
|
|
42181
|
+
return visitor._data_review_check(self.data_review_check)
|
|
42182
|
+
if self._type == 'dispositionStatus' and self.disposition_status is not None:
|
|
42183
|
+
return visitor._disposition_status(self.disposition_status)
|
|
42184
|
+
if self._type == 'priority' and self.priority is not None:
|
|
42185
|
+
return visitor._priority(self.priority)
|
|
42186
|
+
if self._type == 'assignee' and self.assignee is not None:
|
|
42187
|
+
return visitor._assignee(self.assignee)
|
|
42188
|
+
if self._type == 'eventType' and self.event_type is not None:
|
|
42189
|
+
return visitor._event_type(self.event_type)
|
|
42190
|
+
if self._type == 'createdBy' and self.created_by is not None:
|
|
42191
|
+
return visitor._created_by(self.created_by)
|
|
42192
|
+
if self._type == 'label' and self.label is not None:
|
|
42193
|
+
return visitor._label(self.label)
|
|
42194
|
+
if self._type == 'property' and self.property is not None:
|
|
42195
|
+
return visitor._property(self.property)
|
|
42196
|
+
if self._type == 'and' and self.and_ is not None:
|
|
42197
|
+
return visitor._and(self.and_)
|
|
42198
|
+
if self._type == 'or' and self.or_ is not None:
|
|
42199
|
+
return visitor._or(self.or_)
|
|
42200
|
+
if self._type == 'not' and self.not_ is not None:
|
|
42201
|
+
return visitor._not(self.not_)
|
|
42202
|
+
if self._type == 'workspace' and self.workspace is not None:
|
|
42203
|
+
return visitor._workspace(self.workspace)
|
|
42204
|
+
if self._type == 'procedure' and self.procedure is not None:
|
|
42205
|
+
return visitor._procedure(self.procedure)
|
|
42206
|
+
if self._type == 'procedureExecution' and self.procedure_execution is not None:
|
|
42207
|
+
return visitor._procedure_execution(self.procedure_execution)
|
|
42208
|
+
if self._type == 'stepId' and self.step_id is not None:
|
|
42209
|
+
return visitor._step_id(self.step_id)
|
|
42210
|
+
|
|
42211
|
+
|
|
42212
|
+
scout_compute_api_ComputeEventQuery.__name__ = "ComputeEventQuery"
|
|
42213
|
+
scout_compute_api_ComputeEventQuery.__qualname__ = "ComputeEventQuery"
|
|
42214
|
+
scout_compute_api_ComputeEventQuery.__module__ = "nominal_api.scout_compute_api"
|
|
42215
|
+
|
|
42216
|
+
|
|
42217
|
+
class scout_compute_api_ComputeEventQueryVisitor:
|
|
42218
|
+
|
|
42219
|
+
@abstractmethod
|
|
42220
|
+
def _search_text(self, search_text: str) -> Any:
|
|
42221
|
+
pass
|
|
42222
|
+
|
|
42223
|
+
@abstractmethod
|
|
42224
|
+
def _after(self, after: "scout_compute_api_TimestampConstant") -> Any:
|
|
42225
|
+
pass
|
|
42226
|
+
|
|
42227
|
+
@abstractmethod
|
|
42228
|
+
def _before(self, before: "scout_compute_api_TimestampConstant") -> Any:
|
|
42229
|
+
pass
|
|
42230
|
+
|
|
42231
|
+
@abstractmethod
|
|
42232
|
+
def _advanced_time_filter(self, advanced_time_filter: "scout_compute_api_EventTimeFilter") -> Any:
|
|
42233
|
+
pass
|
|
42234
|
+
|
|
42235
|
+
@abstractmethod
|
|
42236
|
+
def _asset(self, asset: "scout_compute_api_StringConstant") -> Any:
|
|
42237
|
+
pass
|
|
42238
|
+
|
|
42239
|
+
@abstractmethod
|
|
42240
|
+
def _template(self, template: "scout_compute_api_StringConstant") -> Any:
|
|
42241
|
+
pass
|
|
42242
|
+
|
|
42243
|
+
@abstractmethod
|
|
42244
|
+
def _workbook(self, workbook: "scout_compute_api_StringConstant") -> Any:
|
|
42245
|
+
pass
|
|
42246
|
+
|
|
42247
|
+
@abstractmethod
|
|
42248
|
+
def _data_review(self, data_review: "scout_compute_api_StringConstant") -> Any:
|
|
42249
|
+
pass
|
|
42250
|
+
|
|
42251
|
+
@abstractmethod
|
|
42252
|
+
def _origin_type(self, origin_type: "scout_compute_api_SearchEventOriginType") -> Any:
|
|
42253
|
+
pass
|
|
42254
|
+
|
|
42255
|
+
@abstractmethod
|
|
42256
|
+
def _data_review_check(self, data_review_check: "scout_compute_api_StringConstant") -> Any:
|
|
42257
|
+
pass
|
|
42258
|
+
|
|
42259
|
+
@abstractmethod
|
|
42260
|
+
def _disposition_status(self, disposition_status: "scout_compute_api_EventDispositionStatus") -> Any:
|
|
42261
|
+
pass
|
|
42262
|
+
|
|
42263
|
+
@abstractmethod
|
|
42264
|
+
def _priority(self, priority: "scout_compute_api_StringConstant") -> Any:
|
|
42265
|
+
pass
|
|
42266
|
+
|
|
42267
|
+
@abstractmethod
|
|
42268
|
+
def _assignee(self, assignee: "scout_compute_api_StringConstant") -> Any:
|
|
42269
|
+
pass
|
|
42270
|
+
|
|
42271
|
+
@abstractmethod
|
|
42272
|
+
def _event_type(self, event_type: "scout_compute_api_EventType") -> Any:
|
|
42273
|
+
pass
|
|
42274
|
+
|
|
42275
|
+
@abstractmethod
|
|
42276
|
+
def _created_by(self, created_by: "scout_compute_api_StringConstant") -> Any:
|
|
42277
|
+
pass
|
|
42278
|
+
|
|
42279
|
+
@abstractmethod
|
|
42280
|
+
def _label(self, label: "scout_compute_api_StringConstant") -> Any:
|
|
42281
|
+
pass
|
|
42282
|
+
|
|
42283
|
+
@abstractmethod
|
|
42284
|
+
def _property(self, property: "scout_compute_api_Property") -> Any:
|
|
42285
|
+
pass
|
|
42286
|
+
|
|
42287
|
+
@abstractmethod
|
|
42288
|
+
def _and(self, and_: List["scout_compute_api_ComputeEventQuery"]) -> Any:
|
|
42289
|
+
pass
|
|
42290
|
+
|
|
42291
|
+
@abstractmethod
|
|
42292
|
+
def _or(self, or_: List["scout_compute_api_ComputeEventQuery"]) -> Any:
|
|
42293
|
+
pass
|
|
42294
|
+
|
|
42295
|
+
@abstractmethod
|
|
42296
|
+
def _not(self, not_: "scout_compute_api_ComputeEventQuery") -> Any:
|
|
42297
|
+
pass
|
|
42298
|
+
|
|
42299
|
+
@abstractmethod
|
|
42300
|
+
def _workspace(self, workspace: "scout_compute_api_StringConstant") -> Any:
|
|
42301
|
+
pass
|
|
42302
|
+
|
|
42303
|
+
@abstractmethod
|
|
42304
|
+
def _procedure(self, procedure: "scout_compute_api_StringConstant") -> Any:
|
|
42305
|
+
pass
|
|
42306
|
+
|
|
42307
|
+
@abstractmethod
|
|
42308
|
+
def _procedure_execution(self, procedure_execution: "scout_compute_api_StringConstant") -> Any:
|
|
42309
|
+
pass
|
|
42310
|
+
|
|
42311
|
+
@abstractmethod
|
|
42312
|
+
def _step_id(self, step_id: "scout_compute_api_StringConstant") -> Any:
|
|
42313
|
+
pass
|
|
42314
|
+
|
|
42315
|
+
|
|
42316
|
+
scout_compute_api_ComputeEventQueryVisitor.__name__ = "ComputeEventQueryVisitor"
|
|
42317
|
+
scout_compute_api_ComputeEventQueryVisitor.__qualname__ = "ComputeEventQueryVisitor"
|
|
42318
|
+
scout_compute_api_ComputeEventQueryVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
42319
|
+
|
|
42320
|
+
|
|
41776
42321
|
class scout_compute_api_ComputeNode(ConjureUnionType):
|
|
41777
42322
|
_enum: Optional["scout_compute_api_EnumSeries"] = None
|
|
41778
42323
|
_numeric: Optional["scout_compute_api_NumericSeries"] = None
|
|
@@ -45060,6 +45605,109 @@ scout_compute_api_ErrorResult.__qualname__ = "ErrorResult"
|
|
|
45060
45605
|
scout_compute_api_ErrorResult.__module__ = "nominal_api.scout_compute_api"
|
|
45061
45606
|
|
|
45062
45607
|
|
|
45608
|
+
class scout_compute_api_EventDispositionStatus(ConjureEnumType):
|
|
45609
|
+
|
|
45610
|
+
PENDING_REVIEW = 'PENDING_REVIEW'
|
|
45611
|
+
'''PENDING_REVIEW'''
|
|
45612
|
+
CLOSED_IGNORED = 'CLOSED_IGNORED'
|
|
45613
|
+
'''CLOSED_IGNORED'''
|
|
45614
|
+
CLOSED_REQUIRES_FURTHER_ACTION = 'CLOSED_REQUIRES_FURTHER_ACTION'
|
|
45615
|
+
'''CLOSED_REQUIRES_FURTHER_ACTION'''
|
|
45616
|
+
NO_DISPOSITION = 'NO_DISPOSITION'
|
|
45617
|
+
'''NO_DISPOSITION'''
|
|
45618
|
+
UNKNOWN = 'UNKNOWN'
|
|
45619
|
+
'''UNKNOWN'''
|
|
45620
|
+
|
|
45621
|
+
def __reduce_ex__(self, proto):
|
|
45622
|
+
return self.__class__, (self.name,)
|
|
45623
|
+
|
|
45624
|
+
|
|
45625
|
+
scout_compute_api_EventDispositionStatus.__name__ = "EventDispositionStatus"
|
|
45626
|
+
scout_compute_api_EventDispositionStatus.__qualname__ = "EventDispositionStatus"
|
|
45627
|
+
scout_compute_api_EventDispositionStatus.__module__ = "nominal_api.scout_compute_api"
|
|
45628
|
+
|
|
45629
|
+
|
|
45630
|
+
class scout_compute_api_EventTimeFilter(ConjureBeanType):
|
|
45631
|
+
|
|
45632
|
+
@builtins.classmethod
|
|
45633
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
45634
|
+
return {
|
|
45635
|
+
'timestamp': ConjureFieldDefinition('timestamp', scout_compute_api_TimestampConstant),
|
|
45636
|
+
'timestamp_condition': ConjureFieldDefinition('timestampCondition', scout_compute_api_EventTimeFilterCondition)
|
|
45637
|
+
}
|
|
45638
|
+
|
|
45639
|
+
__slots__: List[str] = ['_timestamp', '_timestamp_condition']
|
|
45640
|
+
|
|
45641
|
+
def __init__(self, timestamp: "scout_compute_api_TimestampConstant", timestamp_condition: "scout_compute_api_EventTimeFilterCondition") -> None:
|
|
45642
|
+
self._timestamp = timestamp
|
|
45643
|
+
self._timestamp_condition = timestamp_condition
|
|
45644
|
+
|
|
45645
|
+
@builtins.property
|
|
45646
|
+
def timestamp(self) -> "scout_compute_api_TimestampConstant":
|
|
45647
|
+
return self._timestamp
|
|
45648
|
+
|
|
45649
|
+
@builtins.property
|
|
45650
|
+
def timestamp_condition(self) -> "scout_compute_api_EventTimeFilterCondition":
|
|
45651
|
+
return self._timestamp_condition
|
|
45652
|
+
|
|
45653
|
+
|
|
45654
|
+
scout_compute_api_EventTimeFilter.__name__ = "EventTimeFilter"
|
|
45655
|
+
scout_compute_api_EventTimeFilter.__qualname__ = "EventTimeFilter"
|
|
45656
|
+
scout_compute_api_EventTimeFilter.__module__ = "nominal_api.scout_compute_api"
|
|
45657
|
+
|
|
45658
|
+
|
|
45659
|
+
class scout_compute_api_EventTimeFilterCondition(ConjureEnumType):
|
|
45660
|
+
|
|
45661
|
+
START_TIME_BEFORE_INCLUSIVE = 'START_TIME_BEFORE_INCLUSIVE'
|
|
45662
|
+
'''START_TIME_BEFORE_INCLUSIVE'''
|
|
45663
|
+
START_TIME_BEFORE_EXCLUSIVE = 'START_TIME_BEFORE_EXCLUSIVE'
|
|
45664
|
+
'''START_TIME_BEFORE_EXCLUSIVE'''
|
|
45665
|
+
START_TIME_AFTER_INCLUSIVE = 'START_TIME_AFTER_INCLUSIVE'
|
|
45666
|
+
'''START_TIME_AFTER_INCLUSIVE'''
|
|
45667
|
+
START_TIME_AFTER_EXCLUSIVE = 'START_TIME_AFTER_EXCLUSIVE'
|
|
45668
|
+
'''START_TIME_AFTER_EXCLUSIVE'''
|
|
45669
|
+
END_TIME_BEFORE_INCLUSIVE = 'END_TIME_BEFORE_INCLUSIVE'
|
|
45670
|
+
'''END_TIME_BEFORE_INCLUSIVE'''
|
|
45671
|
+
END_TIME_BEFORE_EXCLUSIVE = 'END_TIME_BEFORE_EXCLUSIVE'
|
|
45672
|
+
'''END_TIME_BEFORE_EXCLUSIVE'''
|
|
45673
|
+
END_TIME_AFTER_INCLUSIVE = 'END_TIME_AFTER_INCLUSIVE'
|
|
45674
|
+
'''END_TIME_AFTER_INCLUSIVE'''
|
|
45675
|
+
END_TIME_AFTER_EXCLUSIVE = 'END_TIME_AFTER_EXCLUSIVE'
|
|
45676
|
+
'''END_TIME_AFTER_EXCLUSIVE'''
|
|
45677
|
+
UNKNOWN = 'UNKNOWN'
|
|
45678
|
+
'''UNKNOWN'''
|
|
45679
|
+
|
|
45680
|
+
def __reduce_ex__(self, proto):
|
|
45681
|
+
return self.__class__, (self.name,)
|
|
45682
|
+
|
|
45683
|
+
|
|
45684
|
+
scout_compute_api_EventTimeFilterCondition.__name__ = "EventTimeFilterCondition"
|
|
45685
|
+
scout_compute_api_EventTimeFilterCondition.__qualname__ = "EventTimeFilterCondition"
|
|
45686
|
+
scout_compute_api_EventTimeFilterCondition.__module__ = "nominal_api.scout_compute_api"
|
|
45687
|
+
|
|
45688
|
+
|
|
45689
|
+
class scout_compute_api_EventType(ConjureEnumType):
|
|
45690
|
+
|
|
45691
|
+
INFO = 'INFO'
|
|
45692
|
+
'''INFO'''
|
|
45693
|
+
FLAG = 'FLAG'
|
|
45694
|
+
'''FLAG'''
|
|
45695
|
+
ERROR = 'ERROR'
|
|
45696
|
+
'''ERROR'''
|
|
45697
|
+
SUCCESS = 'SUCCESS'
|
|
45698
|
+
'''SUCCESS'''
|
|
45699
|
+
UNKNOWN = 'UNKNOWN'
|
|
45700
|
+
'''UNKNOWN'''
|
|
45701
|
+
|
|
45702
|
+
def __reduce_ex__(self, proto):
|
|
45703
|
+
return self.__class__, (self.name,)
|
|
45704
|
+
|
|
45705
|
+
|
|
45706
|
+
scout_compute_api_EventType.__name__ = "EventType"
|
|
45707
|
+
scout_compute_api_EventType.__qualname__ = "EventType"
|
|
45708
|
+
scout_compute_api_EventType.__module__ = "nominal_api.scout_compute_api"
|
|
45709
|
+
|
|
45710
|
+
|
|
45063
45711
|
class scout_compute_api_EventsSearchRanges(ConjureBeanType):
|
|
45064
45712
|
"""Produces a range series with a range for each event matching the query.
|
|
45065
45713
|
Throws if there are more than 1,000 results.
|
|
@@ -45068,17 +45716,17 @@ Throws if there are more than 1,000 results.
|
|
|
45068
45716
|
@builtins.classmethod
|
|
45069
45717
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
45070
45718
|
return {
|
|
45071
|
-
'
|
|
45719
|
+
'query': ConjureFieldDefinition('query', scout_compute_api_ComputeEventQuery)
|
|
45072
45720
|
}
|
|
45073
45721
|
|
|
45074
|
-
__slots__: List[str] = ['
|
|
45722
|
+
__slots__: List[str] = ['_query']
|
|
45075
45723
|
|
|
45076
|
-
def __init__(self,
|
|
45077
|
-
self.
|
|
45724
|
+
def __init__(self, query: "scout_compute_api_ComputeEventQuery") -> None:
|
|
45725
|
+
self._query = query
|
|
45078
45726
|
|
|
45079
45727
|
@builtins.property
|
|
45080
|
-
def
|
|
45081
|
-
return self.
|
|
45728
|
+
def query(self) -> "scout_compute_api_ComputeEventQuery":
|
|
45729
|
+
return self._query
|
|
45082
45730
|
|
|
45083
45731
|
|
|
45084
45732
|
scout_compute_api_EventsSearchRanges.__name__ = "EventsSearchRanges"
|
|
@@ -49570,6 +50218,35 @@ scout_compute_api_ProductSeries.__qualname__ = "ProductSeries"
|
|
|
49570
50218
|
scout_compute_api_ProductSeries.__module__ = "nominal_api.scout_compute_api"
|
|
49571
50219
|
|
|
49572
50220
|
|
|
50221
|
+
class scout_compute_api_Property(ConjureBeanType):
|
|
50222
|
+
|
|
50223
|
+
@builtins.classmethod
|
|
50224
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
50225
|
+
return {
|
|
50226
|
+
'name': ConjureFieldDefinition('name', scout_compute_api_StringConstant),
|
|
50227
|
+
'value': ConjureFieldDefinition('value', scout_compute_api_StringConstant)
|
|
50228
|
+
}
|
|
50229
|
+
|
|
50230
|
+
__slots__: List[str] = ['_name', '_value']
|
|
50231
|
+
|
|
50232
|
+
def __init__(self, name: "scout_compute_api_StringConstant", value: "scout_compute_api_StringConstant") -> None:
|
|
50233
|
+
self._name = name
|
|
50234
|
+
self._value = value
|
|
50235
|
+
|
|
50236
|
+
@builtins.property
|
|
50237
|
+
def name(self) -> "scout_compute_api_StringConstant":
|
|
50238
|
+
return self._name
|
|
50239
|
+
|
|
50240
|
+
@builtins.property
|
|
50241
|
+
def value(self) -> "scout_compute_api_StringConstant":
|
|
50242
|
+
return self._value
|
|
50243
|
+
|
|
50244
|
+
|
|
50245
|
+
scout_compute_api_Property.__name__ = "Property"
|
|
50246
|
+
scout_compute_api_Property.__qualname__ = "Property"
|
|
50247
|
+
scout_compute_api_Property.__module__ = "nominal_api.scout_compute_api"
|
|
50248
|
+
|
|
50249
|
+
|
|
49573
50250
|
class scout_compute_api_Range(ConjureBeanType):
|
|
49574
50251
|
"""The end represents the first timestamp that does not belong to the range. If absent, there is no known
|
|
49575
50252
|
end to the range.
|
|
@@ -51144,6 +51821,30 @@ scout_compute_api_ScatterSummarizationStrategyVisitor.__qualname__ = "ScatterSum
|
|
|
51144
51821
|
scout_compute_api_ScatterSummarizationStrategyVisitor.__module__ = "nominal_api.scout_compute_api"
|
|
51145
51822
|
|
|
51146
51823
|
|
|
51824
|
+
class scout_compute_api_SearchEventOriginType(ConjureEnumType):
|
|
51825
|
+
|
|
51826
|
+
WORKBOOK = 'WORKBOOK'
|
|
51827
|
+
'''WORKBOOK'''
|
|
51828
|
+
TEMPLATE = 'TEMPLATE'
|
|
51829
|
+
'''TEMPLATE'''
|
|
51830
|
+
API = 'API'
|
|
51831
|
+
'''API'''
|
|
51832
|
+
DATA_REVIEW = 'DATA_REVIEW'
|
|
51833
|
+
'''DATA_REVIEW'''
|
|
51834
|
+
PROCEDURE = 'PROCEDURE'
|
|
51835
|
+
'''PROCEDURE'''
|
|
51836
|
+
UNKNOWN = 'UNKNOWN'
|
|
51837
|
+
'''UNKNOWN'''
|
|
51838
|
+
|
|
51839
|
+
def __reduce_ex__(self, proto):
|
|
51840
|
+
return self.__class__, (self.name,)
|
|
51841
|
+
|
|
51842
|
+
|
|
51843
|
+
scout_compute_api_SearchEventOriginType.__name__ = "SearchEventOriginType"
|
|
51844
|
+
scout_compute_api_SearchEventOriginType.__qualname__ = "SearchEventOriginType"
|
|
51845
|
+
scout_compute_api_SearchEventOriginType.__module__ = "nominal_api.scout_compute_api"
|
|
51846
|
+
|
|
51847
|
+
|
|
51147
51848
|
class scout_compute_api_SelectIndexFrom1dEnumArraySeries(ConjureBeanType):
|
|
51148
51849
|
"""For each timestamp, selects a single enum value from the 1D enum array at the specified index. If the index
|
|
51149
51850
|
is out of bounds for an array at a given timestamp, it is omitted.
|
|
@@ -57339,6 +58040,29 @@ scout_compute_resolved_api_EnumUnionSeriesNode.__qualname__ = "EnumUnionSeriesNo
|
|
|
57339
58040
|
scout_compute_resolved_api_EnumUnionSeriesNode.__module__ = "nominal_api.scout_compute_resolved_api"
|
|
57340
58041
|
|
|
57341
58042
|
|
|
58043
|
+
class scout_compute_resolved_api_EventSearchNode(ConjureBeanType):
|
|
58044
|
+
|
|
58045
|
+
@builtins.classmethod
|
|
58046
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
58047
|
+
return {
|
|
58048
|
+
'query': ConjureFieldDefinition('query', event_SearchQuery)
|
|
58049
|
+
}
|
|
58050
|
+
|
|
58051
|
+
__slots__: List[str] = ['_query']
|
|
58052
|
+
|
|
58053
|
+
def __init__(self, query: "event_SearchQuery") -> None:
|
|
58054
|
+
self._query = query
|
|
58055
|
+
|
|
58056
|
+
@builtins.property
|
|
58057
|
+
def query(self) -> "event_SearchQuery":
|
|
58058
|
+
return self._query
|
|
58059
|
+
|
|
58060
|
+
|
|
58061
|
+
scout_compute_resolved_api_EventSearchNode.__name__ = "EventSearchNode"
|
|
58062
|
+
scout_compute_resolved_api_EventSearchNode.__qualname__ = "EventSearchNode"
|
|
58063
|
+
scout_compute_resolved_api_EventSearchNode.__module__ = "nominal_api.scout_compute_resolved_api"
|
|
58064
|
+
|
|
58065
|
+
|
|
57342
58066
|
class scout_compute_resolved_api_ExponentialCurve(ConjureBeanType):
|
|
57343
58067
|
|
|
57344
58068
|
@builtins.classmethod
|
|
@@ -59727,6 +60451,7 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
59727
60451
|
_stability_detection: Optional["scout_compute_resolved_api_StabilityDetectionRangesNode"] = None
|
|
59728
60452
|
_threshold: Optional["scout_compute_resolved_api_ThresholdingRangesNode"] = None
|
|
59729
60453
|
_union_range: Optional["scout_compute_resolved_api_UnionRangesNode"] = None
|
|
60454
|
+
_event_search: Optional["scout_compute_resolved_api_EventSearchNode"] = None
|
|
59730
60455
|
|
|
59731
60456
|
@builtins.classmethod
|
|
59732
60457
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -59745,7 +60470,8 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
59745
60470
|
'stale_range': ConjureFieldDefinition('staleRange', scout_compute_resolved_api_StaleRangesNode),
|
|
59746
60471
|
'stability_detection': ConjureFieldDefinition('stabilityDetection', scout_compute_resolved_api_StabilityDetectionRangesNode),
|
|
59747
60472
|
'threshold': ConjureFieldDefinition('threshold', scout_compute_resolved_api_ThresholdingRangesNode),
|
|
59748
|
-
'union_range': ConjureFieldDefinition('unionRange', scout_compute_resolved_api_UnionRangesNode)
|
|
60473
|
+
'union_range': ConjureFieldDefinition('unionRange', scout_compute_resolved_api_UnionRangesNode),
|
|
60474
|
+
'event_search': ConjureFieldDefinition('eventSearch', scout_compute_resolved_api_EventSearchNode)
|
|
59749
60475
|
}
|
|
59750
60476
|
|
|
59751
60477
|
def __init__(
|
|
@@ -59765,10 +60491,11 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
59765
60491
|
stability_detection: Optional["scout_compute_resolved_api_StabilityDetectionRangesNode"] = None,
|
|
59766
60492
|
threshold: Optional["scout_compute_resolved_api_ThresholdingRangesNode"] = None,
|
|
59767
60493
|
union_range: Optional["scout_compute_resolved_api_UnionRangesNode"] = None,
|
|
60494
|
+
event_search: Optional["scout_compute_resolved_api_EventSearchNode"] = None,
|
|
59768
60495
|
type_of_union: Optional[str] = None
|
|
59769
60496
|
) -> None:
|
|
59770
60497
|
if type_of_union is None:
|
|
59771
|
-
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:
|
|
60498
|
+
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:
|
|
59772
60499
|
raise ValueError('a union must contain a single member')
|
|
59773
60500
|
|
|
59774
60501
|
if duration_filter is not None:
|
|
@@ -59816,6 +60543,9 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
59816
60543
|
if union_range is not None:
|
|
59817
60544
|
self._union_range = union_range
|
|
59818
60545
|
self._type = 'unionRange'
|
|
60546
|
+
if event_search is not None:
|
|
60547
|
+
self._event_search = event_search
|
|
60548
|
+
self._type = 'eventSearch'
|
|
59819
60549
|
|
|
59820
60550
|
elif type_of_union == 'durationFilter':
|
|
59821
60551
|
if duration_filter is None:
|
|
@@ -59892,6 +60622,11 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
59892
60622
|
raise ValueError('a union value must not be None')
|
|
59893
60623
|
self._union_range = union_range
|
|
59894
60624
|
self._type = 'unionRange'
|
|
60625
|
+
elif type_of_union == 'eventSearch':
|
|
60626
|
+
if event_search is None:
|
|
60627
|
+
raise ValueError('a union value must not be None')
|
|
60628
|
+
self._event_search = event_search
|
|
60629
|
+
self._type = 'eventSearch'
|
|
59895
60630
|
|
|
59896
60631
|
@builtins.property
|
|
59897
60632
|
def duration_filter(self) -> Optional["scout_compute_resolved_api_DurationFilterRangesNode"]:
|
|
@@ -59953,6 +60688,10 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
59953
60688
|
def union_range(self) -> Optional["scout_compute_resolved_api_UnionRangesNode"]:
|
|
59954
60689
|
return self._union_range
|
|
59955
60690
|
|
|
60691
|
+
@builtins.property
|
|
60692
|
+
def event_search(self) -> Optional["scout_compute_resolved_api_EventSearchNode"]:
|
|
60693
|
+
return self._event_search
|
|
60694
|
+
|
|
59956
60695
|
def accept(self, visitor) -> Any:
|
|
59957
60696
|
if not isinstance(visitor, scout_compute_resolved_api_RangesNodeVisitor):
|
|
59958
60697
|
raise ValueError('{} is not an instance of scout_compute_resolved_api_RangesNodeVisitor'.format(visitor.__class__.__name__))
|
|
@@ -59986,6 +60725,8 @@ class scout_compute_resolved_api_RangesNode(ConjureUnionType):
|
|
|
59986
60725
|
return visitor._threshold(self.threshold)
|
|
59987
60726
|
if self._type == 'unionRange' and self.union_range is not None:
|
|
59988
60727
|
return visitor._union_range(self.union_range)
|
|
60728
|
+
if self._type == 'eventSearch' and self.event_search is not None:
|
|
60729
|
+
return visitor._event_search(self.event_search)
|
|
59989
60730
|
|
|
59990
60731
|
|
|
59991
60732
|
scout_compute_resolved_api_RangesNode.__name__ = "RangesNode"
|
|
@@ -60055,6 +60796,10 @@ class scout_compute_resolved_api_RangesNodeVisitor:
|
|
|
60055
60796
|
def _union_range(self, union_range: "scout_compute_resolved_api_UnionRangesNode") -> Any:
|
|
60056
60797
|
pass
|
|
60057
60798
|
|
|
60799
|
+
@abstractmethod
|
|
60800
|
+
def _event_search(self, event_search: "scout_compute_resolved_api_EventSearchNode") -> Any:
|
|
60801
|
+
pass
|
|
60802
|
+
|
|
60058
60803
|
|
|
60059
60804
|
scout_compute_resolved_api_RangesNodeVisitor.__name__ = "RangesNodeVisitor"
|
|
60060
60805
|
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=40dLgXSM4jsoPNjQJP6CR4baNpy9cPaAYy5JbsAmZ1A,2064
|
|
2
|
+
nominal_api/_impl.py,sha256=B2-A_jKJ1wf-QWtkRDUGXMbVQ_7F8LtcD7z3qMjbDnc,3655245
|
|
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.832.
|
|
81
|
-
nominal_api-0.832.
|
|
82
|
-
nominal_api-0.832.
|
|
83
|
-
nominal_api-0.832.
|
|
80
|
+
nominal_api-0.832.2.dist-info/METADATA,sha256=swHwAZF5quCJKD1-7KxWbe2A3I-Ml7NczxVqLawNXmQ,199
|
|
81
|
+
nominal_api-0.832.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
82
|
+
nominal_api-0.832.2.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
83
|
+
nominal_api-0.832.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|