nominal-api 0.829.0__py3-none-any.whl → 0.830.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of nominal-api might be problematic. Click here for more details.
- nominal_api/__init__.py +1 -1
- nominal_api/_impl.py +142 -10
- {nominal_api-0.829.0.dist-info → nominal_api-0.830.0.dist-info}/METADATA +1 -1
- {nominal_api-0.829.0.dist-info → nominal_api-0.830.0.dist-info}/RECORD +6 -6
- {nominal_api-0.829.0.dist-info → nominal_api-0.830.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.829.0.dist-info → nominal_api-0.830.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -6711,6 +6711,9 @@ class event_HistogramFilterQuery(ConjureUnionType):
|
|
|
6711
6711
|
_or_: Optional[List["event_HistogramFilterQuery"]] = None
|
|
6712
6712
|
_not_: Optional["event_HistogramFilterQuery"] = None
|
|
6713
6713
|
_workspace: Optional[str] = None
|
|
6714
|
+
_procedure: Optional[str] = None
|
|
6715
|
+
_procedure_execution: Optional[str] = None
|
|
6716
|
+
_step_id: Optional[str] = None
|
|
6714
6717
|
|
|
6715
6718
|
@builtins.classmethod
|
|
6716
6719
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -6732,7 +6735,10 @@ class event_HistogramFilterQuery(ConjureUnionType):
|
|
|
6732
6735
|
'and_': ConjureFieldDefinition('and', List[event_HistogramFilterQuery]),
|
|
6733
6736
|
'or_': ConjureFieldDefinition('or', List[event_HistogramFilterQuery]),
|
|
6734
6737
|
'not_': ConjureFieldDefinition('not', event_HistogramFilterQuery),
|
|
6735
|
-
'workspace': ConjureFieldDefinition('workspace', api_rids_WorkspaceRid)
|
|
6738
|
+
'workspace': ConjureFieldDefinition('workspace', api_rids_WorkspaceRid),
|
|
6739
|
+
'procedure': ConjureFieldDefinition('procedure', api_rids_ProcedureRid),
|
|
6740
|
+
'procedure_execution': ConjureFieldDefinition('procedureExecution', api_rids_ProcedureExecutionRid),
|
|
6741
|
+
'step_id': ConjureFieldDefinition('stepId', str)
|
|
6736
6742
|
}
|
|
6737
6743
|
|
|
6738
6744
|
def __init__(
|
|
@@ -6755,10 +6761,13 @@ class event_HistogramFilterQuery(ConjureUnionType):
|
|
|
6755
6761
|
or_: Optional[List["event_HistogramFilterQuery"]] = None,
|
|
6756
6762
|
not_: Optional["event_HistogramFilterQuery"] = None,
|
|
6757
6763
|
workspace: Optional[str] = None,
|
|
6764
|
+
procedure: Optional[str] = None,
|
|
6765
|
+
procedure_execution: Optional[str] = None,
|
|
6766
|
+
step_id: Optional[str] = None,
|
|
6758
6767
|
type_of_union: Optional[str] = None
|
|
6759
6768
|
) -> None:
|
|
6760
6769
|
if type_of_union is None:
|
|
6761
|
-
if (search_text 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) != 1:
|
|
6770
|
+
if (search_text 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:
|
|
6762
6771
|
raise ValueError('a union must contain a single member')
|
|
6763
6772
|
|
|
6764
6773
|
if search_text is not None:
|
|
@@ -6815,6 +6824,15 @@ class event_HistogramFilterQuery(ConjureUnionType):
|
|
|
6815
6824
|
if workspace is not None:
|
|
6816
6825
|
self._workspace = workspace
|
|
6817
6826
|
self._type = 'workspace'
|
|
6827
|
+
if procedure is not None:
|
|
6828
|
+
self._procedure = procedure
|
|
6829
|
+
self._type = 'procedure'
|
|
6830
|
+
if procedure_execution is not None:
|
|
6831
|
+
self._procedure_execution = procedure_execution
|
|
6832
|
+
self._type = 'procedureExecution'
|
|
6833
|
+
if step_id is not None:
|
|
6834
|
+
self._step_id = step_id
|
|
6835
|
+
self._type = 'stepId'
|
|
6818
6836
|
|
|
6819
6837
|
elif type_of_union == 'searchText':
|
|
6820
6838
|
if search_text is None:
|
|
@@ -6906,6 +6924,21 @@ class event_HistogramFilterQuery(ConjureUnionType):
|
|
|
6906
6924
|
raise ValueError('a union value must not be None')
|
|
6907
6925
|
self._workspace = workspace
|
|
6908
6926
|
self._type = 'workspace'
|
|
6927
|
+
elif type_of_union == 'procedure':
|
|
6928
|
+
if procedure is None:
|
|
6929
|
+
raise ValueError('a union value must not be None')
|
|
6930
|
+
self._procedure = procedure
|
|
6931
|
+
self._type = 'procedure'
|
|
6932
|
+
elif type_of_union == 'procedureExecution':
|
|
6933
|
+
if procedure_execution is None:
|
|
6934
|
+
raise ValueError('a union value must not be None')
|
|
6935
|
+
self._procedure_execution = procedure_execution
|
|
6936
|
+
self._type = 'procedureExecution'
|
|
6937
|
+
elif type_of_union == 'stepId':
|
|
6938
|
+
if step_id is None:
|
|
6939
|
+
raise ValueError('a union value must not be None')
|
|
6940
|
+
self._step_id = step_id
|
|
6941
|
+
self._type = 'stepId'
|
|
6909
6942
|
|
|
6910
6943
|
@builtins.property
|
|
6911
6944
|
def search_text(self) -> Optional[str]:
|
|
@@ -6979,6 +7012,18 @@ class event_HistogramFilterQuery(ConjureUnionType):
|
|
|
6979
7012
|
def workspace(self) -> Optional[str]:
|
|
6980
7013
|
return self._workspace
|
|
6981
7014
|
|
|
7015
|
+
@builtins.property
|
|
7016
|
+
def procedure(self) -> Optional[str]:
|
|
7017
|
+
return self._procedure
|
|
7018
|
+
|
|
7019
|
+
@builtins.property
|
|
7020
|
+
def procedure_execution(self) -> Optional[str]:
|
|
7021
|
+
return self._procedure_execution
|
|
7022
|
+
|
|
7023
|
+
@builtins.property
|
|
7024
|
+
def step_id(self) -> Optional[str]:
|
|
7025
|
+
return self._step_id
|
|
7026
|
+
|
|
6982
7027
|
def accept(self, visitor) -> Any:
|
|
6983
7028
|
if not isinstance(visitor, event_HistogramFilterQueryVisitor):
|
|
6984
7029
|
raise ValueError('{} is not an instance of event_HistogramFilterQueryVisitor'.format(visitor.__class__.__name__))
|
|
@@ -7018,6 +7063,12 @@ class event_HistogramFilterQuery(ConjureUnionType):
|
|
|
7018
7063
|
return visitor._not(self.not_)
|
|
7019
7064
|
if self._type == 'workspace' and self.workspace is not None:
|
|
7020
7065
|
return visitor._workspace(self.workspace)
|
|
7066
|
+
if self._type == 'procedure' and self.procedure is not None:
|
|
7067
|
+
return visitor._procedure(self.procedure)
|
|
7068
|
+
if self._type == 'procedureExecution' and self.procedure_execution is not None:
|
|
7069
|
+
return visitor._procedure_execution(self.procedure_execution)
|
|
7070
|
+
if self._type == 'stepId' and self.step_id is not None:
|
|
7071
|
+
return visitor._step_id(self.step_id)
|
|
7021
7072
|
|
|
7022
7073
|
|
|
7023
7074
|
event_HistogramFilterQuery.__name__ = "HistogramFilterQuery"
|
|
@@ -7099,6 +7150,18 @@ class event_HistogramFilterQueryVisitor:
|
|
|
7099
7150
|
def _workspace(self, workspace: str) -> Any:
|
|
7100
7151
|
pass
|
|
7101
7152
|
|
|
7153
|
+
@abstractmethod
|
|
7154
|
+
def _procedure(self, procedure: str) -> Any:
|
|
7155
|
+
pass
|
|
7156
|
+
|
|
7157
|
+
@abstractmethod
|
|
7158
|
+
def _procedure_execution(self, procedure_execution: str) -> Any:
|
|
7159
|
+
pass
|
|
7160
|
+
|
|
7161
|
+
@abstractmethod
|
|
7162
|
+
def _step_id(self, step_id: str) -> Any:
|
|
7163
|
+
pass
|
|
7164
|
+
|
|
7102
7165
|
|
|
7103
7166
|
event_HistogramFilterQueryVisitor.__name__ = "HistogramFilterQueryVisitor"
|
|
7104
7167
|
event_HistogramFilterQueryVisitor.__qualname__ = "HistogramFilterQueryVisitor"
|
|
@@ -7136,22 +7199,28 @@ class event_ProcedureEventOrigin(ConjureBeanType):
|
|
|
7136
7199
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
7137
7200
|
return {
|
|
7138
7201
|
'procedure_execution_rid': ConjureFieldDefinition('procedureExecutionRid', api_rids_ProcedureExecutionRid),
|
|
7139
|
-
'
|
|
7202
|
+
'procedure_rid': ConjureFieldDefinition('procedureRid', api_rids_ProcedureRid),
|
|
7203
|
+
'step_id': ConjureFieldDefinition('stepId', str)
|
|
7140
7204
|
}
|
|
7141
7205
|
|
|
7142
|
-
__slots__: List[str] = ['_procedure_execution_rid', '
|
|
7206
|
+
__slots__: List[str] = ['_procedure_execution_rid', '_procedure_rid', '_step_id']
|
|
7143
7207
|
|
|
7144
|
-
def __init__(self, procedure_execution_rid: str,
|
|
7208
|
+
def __init__(self, procedure_execution_rid: str, procedure_rid: str, step_id: str) -> None:
|
|
7145
7209
|
self._procedure_execution_rid = procedure_execution_rid
|
|
7146
|
-
self.
|
|
7210
|
+
self._procedure_rid = procedure_rid
|
|
7211
|
+
self._step_id = step_id
|
|
7147
7212
|
|
|
7148
7213
|
@builtins.property
|
|
7149
7214
|
def procedure_execution_rid(self) -> str:
|
|
7150
7215
|
return self._procedure_execution_rid
|
|
7151
7216
|
|
|
7152
7217
|
@builtins.property
|
|
7153
|
-
def
|
|
7154
|
-
return self.
|
|
7218
|
+
def procedure_rid(self) -> str:
|
|
7219
|
+
return self._procedure_rid
|
|
7220
|
+
|
|
7221
|
+
@builtins.property
|
|
7222
|
+
def step_id(self) -> str:
|
|
7223
|
+
return self._step_id
|
|
7155
7224
|
|
|
7156
7225
|
|
|
7157
7226
|
event_ProcedureEventOrigin.__name__ = "ProcedureEventOrigin"
|
|
@@ -7285,6 +7354,9 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7285
7354
|
_or_: Optional[List["event_SearchQuery"]] = None
|
|
7286
7355
|
_not_: Optional["event_SearchQuery"] = None
|
|
7287
7356
|
_workspace: Optional[str] = None
|
|
7357
|
+
_procedure: Optional[str] = None
|
|
7358
|
+
_procedure_execution: Optional[str] = None
|
|
7359
|
+
_step_id: Optional[str] = None
|
|
7288
7360
|
|
|
7289
7361
|
@builtins.classmethod
|
|
7290
7362
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -7309,7 +7381,10 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7309
7381
|
'and_': ConjureFieldDefinition('and', List[event_SearchQuery]),
|
|
7310
7382
|
'or_': ConjureFieldDefinition('or', List[event_SearchQuery]),
|
|
7311
7383
|
'not_': ConjureFieldDefinition('not', event_SearchQuery),
|
|
7312
|
-
'workspace': ConjureFieldDefinition('workspace', api_rids_WorkspaceRid)
|
|
7384
|
+
'workspace': ConjureFieldDefinition('workspace', api_rids_WorkspaceRid),
|
|
7385
|
+
'procedure': ConjureFieldDefinition('procedure', api_rids_ProcedureRid),
|
|
7386
|
+
'procedure_execution': ConjureFieldDefinition('procedureExecution', api_rids_ProcedureExecutionRid),
|
|
7387
|
+
'step_id': ConjureFieldDefinition('stepId', str)
|
|
7313
7388
|
}
|
|
7314
7389
|
|
|
7315
7390
|
def __init__(
|
|
@@ -7335,10 +7410,13 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7335
7410
|
or_: Optional[List["event_SearchQuery"]] = None,
|
|
7336
7411
|
not_: Optional["event_SearchQuery"] = None,
|
|
7337
7412
|
workspace: Optional[str] = None,
|
|
7413
|
+
procedure: Optional[str] = None,
|
|
7414
|
+
procedure_execution: Optional[str] = None,
|
|
7415
|
+
step_id: Optional[str] = None,
|
|
7338
7416
|
type_of_union: Optional[str] = None
|
|
7339
7417
|
) -> None:
|
|
7340
7418
|
if type_of_union is None:
|
|
7341
|
-
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) != 1:
|
|
7419
|
+
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:
|
|
7342
7420
|
raise ValueError('a union must contain a single member')
|
|
7343
7421
|
|
|
7344
7422
|
if search_text is not None:
|
|
@@ -7404,6 +7482,15 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7404
7482
|
if workspace is not None:
|
|
7405
7483
|
self._workspace = workspace
|
|
7406
7484
|
self._type = 'workspace'
|
|
7485
|
+
if procedure is not None:
|
|
7486
|
+
self._procedure = procedure
|
|
7487
|
+
self._type = 'procedure'
|
|
7488
|
+
if procedure_execution is not None:
|
|
7489
|
+
self._procedure_execution = procedure_execution
|
|
7490
|
+
self._type = 'procedureExecution'
|
|
7491
|
+
if step_id is not None:
|
|
7492
|
+
self._step_id = step_id
|
|
7493
|
+
self._type = 'stepId'
|
|
7407
7494
|
|
|
7408
7495
|
elif type_of_union == 'searchText':
|
|
7409
7496
|
if search_text is None:
|
|
@@ -7510,6 +7597,21 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7510
7597
|
raise ValueError('a union value must not be None')
|
|
7511
7598
|
self._workspace = workspace
|
|
7512
7599
|
self._type = 'workspace'
|
|
7600
|
+
elif type_of_union == 'procedure':
|
|
7601
|
+
if procedure is None:
|
|
7602
|
+
raise ValueError('a union value must not be None')
|
|
7603
|
+
self._procedure = procedure
|
|
7604
|
+
self._type = 'procedure'
|
|
7605
|
+
elif type_of_union == 'procedureExecution':
|
|
7606
|
+
if procedure_execution is None:
|
|
7607
|
+
raise ValueError('a union value must not be None')
|
|
7608
|
+
self._procedure_execution = procedure_execution
|
|
7609
|
+
self._type = 'procedureExecution'
|
|
7610
|
+
elif type_of_union == 'stepId':
|
|
7611
|
+
if step_id is None:
|
|
7612
|
+
raise ValueError('a union value must not be None')
|
|
7613
|
+
self._step_id = step_id
|
|
7614
|
+
self._type = 'stepId'
|
|
7513
7615
|
|
|
7514
7616
|
@builtins.property
|
|
7515
7617
|
def search_text(self) -> Optional[str]:
|
|
@@ -7601,6 +7703,18 @@ This includes events that start before, but end after this time.
|
|
|
7601
7703
|
def workspace(self) -> Optional[str]:
|
|
7602
7704
|
return self._workspace
|
|
7603
7705
|
|
|
7706
|
+
@builtins.property
|
|
7707
|
+
def procedure(self) -> Optional[str]:
|
|
7708
|
+
return self._procedure
|
|
7709
|
+
|
|
7710
|
+
@builtins.property
|
|
7711
|
+
def procedure_execution(self) -> Optional[str]:
|
|
7712
|
+
return self._procedure_execution
|
|
7713
|
+
|
|
7714
|
+
@builtins.property
|
|
7715
|
+
def step_id(self) -> Optional[str]:
|
|
7716
|
+
return self._step_id
|
|
7717
|
+
|
|
7604
7718
|
def accept(self, visitor) -> Any:
|
|
7605
7719
|
if not isinstance(visitor, event_SearchQueryVisitor):
|
|
7606
7720
|
raise ValueError('{} is not an instance of event_SearchQueryVisitor'.format(visitor.__class__.__name__))
|
|
@@ -7646,6 +7760,12 @@ This includes events that start before, but end after this time.
|
|
|
7646
7760
|
return visitor._not(self.not_)
|
|
7647
7761
|
if self._type == 'workspace' and self.workspace is not None:
|
|
7648
7762
|
return visitor._workspace(self.workspace)
|
|
7763
|
+
if self._type == 'procedure' and self.procedure is not None:
|
|
7764
|
+
return visitor._procedure(self.procedure)
|
|
7765
|
+
if self._type == 'procedureExecution' and self.procedure_execution is not None:
|
|
7766
|
+
return visitor._procedure_execution(self.procedure_execution)
|
|
7767
|
+
if self._type == 'stepId' and self.step_id is not None:
|
|
7768
|
+
return visitor._step_id(self.step_id)
|
|
7649
7769
|
|
|
7650
7770
|
|
|
7651
7771
|
event_SearchQuery.__name__ = "SearchQuery"
|
|
@@ -7739,6 +7859,18 @@ class event_SearchQueryVisitor:
|
|
|
7739
7859
|
def _workspace(self, workspace: str) -> Any:
|
|
7740
7860
|
pass
|
|
7741
7861
|
|
|
7862
|
+
@abstractmethod
|
|
7863
|
+
def _procedure(self, procedure: str) -> Any:
|
|
7864
|
+
pass
|
|
7865
|
+
|
|
7866
|
+
@abstractmethod
|
|
7867
|
+
def _procedure_execution(self, procedure_execution: str) -> Any:
|
|
7868
|
+
pass
|
|
7869
|
+
|
|
7870
|
+
@abstractmethod
|
|
7871
|
+
def _step_id(self, step_id: str) -> Any:
|
|
7872
|
+
pass
|
|
7873
|
+
|
|
7742
7874
|
|
|
7743
7875
|
event_SearchQueryVisitor.__name__ = "SearchQueryVisitor"
|
|
7744
7876
|
event_SearchQueryVisitor.__qualname__ = "SearchQueryVisitor"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
|
2
|
-
nominal_api/_impl.py,sha256=
|
|
1
|
+
nominal_api/__init__.py,sha256=P3zYkuxAPtH6ua5FBa0EawEtEsheYIoi16BE_H04hFM,2064
|
|
2
|
+
nominal_api/_impl.py,sha256=WFQpgsFon9RQrm89COSGLxIrX4c_kIPwYrIlN-3i0zo,3621832
|
|
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
|
|
@@ -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.830.0.dist-info/METADATA,sha256=72JWCvoBAztVg42yMkxY-zPxlh4aJSnUVTveYhk7rD8,199
|
|
81
|
+
nominal_api-0.830.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
82
|
+
nominal_api-0.830.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
83
|
+
nominal_api-0.830.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|