nominal-api 0.705.1__tar.gz → 0.706.0__tar.gz
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-0.705.1 → nominal_api-0.706.0}/PKG-INFO +1 -1
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/__init__.py +1 -1
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/_impl.py +148 -6
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/storage_writer_api/__init__.py +2 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api.egg-info/PKG-INFO +1 -1
- {nominal_api-0.705.1 → nominal_api-0.706.0}/setup.py +1 -1
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/api_ids/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/api_rids/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/attachments_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/authentication_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/authorization/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/comments_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/connect_download/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/datasource/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/datasource_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/datasource_logset/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/datasource_logset_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/datasource_pagination_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/event/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/ingest_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/ingest_workflow_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/persistent_compute_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/py.typed +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_asset_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_assets/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_catalog/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_channelvariables_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_chart_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_chartdefinition_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_checklistexecution_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_checks_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_comparisonnotebook_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_comparisonrun_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_compute_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_compute_api_deprecated/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_compute_resolved_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_dataexport_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_datareview_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_datasource/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_datasource_connection/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_datasource_connection_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_datasource_connection_api_influx/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_favorites/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_favorites_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_integrations_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_internal_search_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_jobs_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_layout_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_metadata/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_notebook_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_plotting/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_rids_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_run_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_template_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_units_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_versioning_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_video/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_video_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_workbookcommon_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/secrets_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/security_api_workspace/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/storage_datasource_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/storage_deletion_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/storage_series_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/themes_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/timeseries_archetype/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/timeseries_archetype_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/timeseries_channelmetadata/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/timeseries_channelmetadata_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/timeseries_logicalseries/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/timeseries_logicalseries_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/timeseries_seriescache/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/timeseries_seriescache_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/upload_api/__init__.py +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api.egg-info/SOURCES.txt +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api.egg-info/dependency_links.txt +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api.egg-info/requires.txt +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api.egg-info/top_level.txt +0 -0
- {nominal_api-0.705.1 → nominal_api-0.706.0}/setup.cfg +0 -0
|
@@ -6569,6 +6569,7 @@ class event_HistogramFilterQuery(ConjureUnionType):
|
|
|
6569
6569
|
_priority: Optional["scout_api_Priority"] = None
|
|
6570
6570
|
_assignee: Optional[str] = None
|
|
6571
6571
|
_event_type: Optional["event_EventType"] = None
|
|
6572
|
+
_created_by: Optional[str] = None
|
|
6572
6573
|
_label: Optional[str] = None
|
|
6573
6574
|
_property: Optional["api_Property"] = None
|
|
6574
6575
|
_and_: Optional[List["event_HistogramFilterQuery"]] = None
|
|
@@ -6590,6 +6591,7 @@ class event_HistogramFilterQuery(ConjureUnionType):
|
|
|
6590
6591
|
'priority': ConjureFieldDefinition('priority', scout_api_Priority),
|
|
6591
6592
|
'assignee': ConjureFieldDefinition('assignee', scout_rids_api_UserRid),
|
|
6592
6593
|
'event_type': ConjureFieldDefinition('eventType', event_EventType),
|
|
6594
|
+
'created_by': ConjureFieldDefinition('createdBy', scout_rids_api_UserRid),
|
|
6593
6595
|
'label': ConjureFieldDefinition('label', api_Label),
|
|
6594
6596
|
'property': ConjureFieldDefinition('property', api_Property),
|
|
6595
6597
|
'and_': ConjureFieldDefinition('and', List[event_HistogramFilterQuery]),
|
|
@@ -6611,6 +6613,7 @@ class event_HistogramFilterQuery(ConjureUnionType):
|
|
|
6611
6613
|
priority: Optional["scout_api_Priority"] = None,
|
|
6612
6614
|
assignee: Optional[str] = None,
|
|
6613
6615
|
event_type: Optional["event_EventType"] = None,
|
|
6616
|
+
created_by: Optional[str] = None,
|
|
6614
6617
|
label: Optional[str] = None,
|
|
6615
6618
|
property: Optional["api_Property"] = None,
|
|
6616
6619
|
and_: Optional[List["event_HistogramFilterQuery"]] = None,
|
|
@@ -6620,7 +6623,7 @@ class event_HistogramFilterQuery(ConjureUnionType):
|
|
|
6620
6623
|
type_of_union: Optional[str] = None
|
|
6621
6624
|
) -> None:
|
|
6622
6625
|
if type_of_union is None:
|
|
6623
|
-
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) + (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:
|
|
6626
|
+
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:
|
|
6624
6627
|
raise ValueError('a union must contain a single member')
|
|
6625
6628
|
|
|
6626
6629
|
if search_text is not None:
|
|
@@ -6656,6 +6659,9 @@ class event_HistogramFilterQuery(ConjureUnionType):
|
|
|
6656
6659
|
if event_type is not None:
|
|
6657
6660
|
self._event_type = event_type
|
|
6658
6661
|
self._type = 'eventType'
|
|
6662
|
+
if created_by is not None:
|
|
6663
|
+
self._created_by = created_by
|
|
6664
|
+
self._type = 'createdBy'
|
|
6659
6665
|
if label is not None:
|
|
6660
6666
|
self._label = label
|
|
6661
6667
|
self._type = 'label'
|
|
@@ -6730,6 +6736,11 @@ class event_HistogramFilterQuery(ConjureUnionType):
|
|
|
6730
6736
|
raise ValueError('a union value must not be None')
|
|
6731
6737
|
self._event_type = event_type
|
|
6732
6738
|
self._type = 'eventType'
|
|
6739
|
+
elif type_of_union == 'createdBy':
|
|
6740
|
+
if created_by is None:
|
|
6741
|
+
raise ValueError('a union value must not be None')
|
|
6742
|
+
self._created_by = created_by
|
|
6743
|
+
self._type = 'createdBy'
|
|
6733
6744
|
elif type_of_union == 'label':
|
|
6734
6745
|
if label is None:
|
|
6735
6746
|
raise ValueError('a union value must not be None')
|
|
@@ -6805,6 +6816,10 @@ class event_HistogramFilterQuery(ConjureUnionType):
|
|
|
6805
6816
|
def event_type(self) -> Optional["event_EventType"]:
|
|
6806
6817
|
return self._event_type
|
|
6807
6818
|
|
|
6819
|
+
@builtins.property
|
|
6820
|
+
def created_by(self) -> Optional[str]:
|
|
6821
|
+
return self._created_by
|
|
6822
|
+
|
|
6808
6823
|
@builtins.property
|
|
6809
6824
|
def label(self) -> Optional[str]:
|
|
6810
6825
|
return self._label
|
|
@@ -6854,6 +6869,8 @@ class event_HistogramFilterQuery(ConjureUnionType):
|
|
|
6854
6869
|
return visitor._assignee(self.assignee)
|
|
6855
6870
|
if self._type == 'eventType' and self.event_type is not None:
|
|
6856
6871
|
return visitor._event_type(self.event_type)
|
|
6872
|
+
if self._type == 'createdBy' and self.created_by is not None:
|
|
6873
|
+
return visitor._created_by(self.created_by)
|
|
6857
6874
|
if self._type == 'label' and self.label is not None:
|
|
6858
6875
|
return visitor._label(self.label)
|
|
6859
6876
|
if self._type == 'property' and self.property is not None:
|
|
@@ -6919,6 +6936,10 @@ class event_HistogramFilterQueryVisitor:
|
|
|
6919
6936
|
def _event_type(self, event_type: "event_EventType") -> Any:
|
|
6920
6937
|
pass
|
|
6921
6938
|
|
|
6939
|
+
@abstractmethod
|
|
6940
|
+
def _created_by(self, created_by: str) -> Any:
|
|
6941
|
+
pass
|
|
6942
|
+
|
|
6922
6943
|
@abstractmethod
|
|
6923
6944
|
def _label(self, label: str) -> Any:
|
|
6924
6945
|
pass
|
|
@@ -7067,6 +7088,7 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7067
7088
|
_priority: Optional["scout_api_Priority"] = None
|
|
7068
7089
|
_assignee: Optional[str] = None
|
|
7069
7090
|
_event_type: Optional["event_EventType"] = None
|
|
7091
|
+
_created_by: Optional[str] = None
|
|
7070
7092
|
_label: Optional[str] = None
|
|
7071
7093
|
_property: Optional["api_Property"] = None
|
|
7072
7094
|
_and_: Optional[List["event_SearchQuery"]] = None
|
|
@@ -7090,6 +7112,7 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7090
7112
|
'priority': ConjureFieldDefinition('priority', scout_api_Priority),
|
|
7091
7113
|
'assignee': ConjureFieldDefinition('assignee', scout_rids_api_UserRid),
|
|
7092
7114
|
'event_type': ConjureFieldDefinition('eventType', event_EventType),
|
|
7115
|
+
'created_by': ConjureFieldDefinition('createdBy', scout_rids_api_UserRid),
|
|
7093
7116
|
'label': ConjureFieldDefinition('label', api_Label),
|
|
7094
7117
|
'property': ConjureFieldDefinition('property', api_Property),
|
|
7095
7118
|
'and_': ConjureFieldDefinition('and', List[event_SearchQuery]),
|
|
@@ -7113,6 +7136,7 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7113
7136
|
priority: Optional["scout_api_Priority"] = None,
|
|
7114
7137
|
assignee: Optional[str] = None,
|
|
7115
7138
|
event_type: Optional["event_EventType"] = None,
|
|
7139
|
+
created_by: Optional[str] = None,
|
|
7116
7140
|
label: Optional[str] = None,
|
|
7117
7141
|
property: Optional["api_Property"] = None,
|
|
7118
7142
|
and_: Optional[List["event_SearchQuery"]] = None,
|
|
@@ -7122,7 +7146,7 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7122
7146
|
type_of_union: Optional[str] = None
|
|
7123
7147
|
) -> None:
|
|
7124
7148
|
if type_of_union is None:
|
|
7125
|
-
if (search_text is not None) + (after is not None) + (before 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) + (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:
|
|
7149
|
+
if (search_text is not None) + (after is not None) + (before 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:
|
|
7126
7150
|
raise ValueError('a union must contain a single member')
|
|
7127
7151
|
|
|
7128
7152
|
if search_text is not None:
|
|
@@ -7164,6 +7188,9 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7164
7188
|
if event_type is not None:
|
|
7165
7189
|
self._event_type = event_type
|
|
7166
7190
|
self._type = 'eventType'
|
|
7191
|
+
if created_by is not None:
|
|
7192
|
+
self._created_by = created_by
|
|
7193
|
+
self._type = 'createdBy'
|
|
7167
7194
|
if label is not None:
|
|
7168
7195
|
self._label = label
|
|
7169
7196
|
self._type = 'label'
|
|
@@ -7248,6 +7275,11 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7248
7275
|
raise ValueError('a union value must not be None')
|
|
7249
7276
|
self._event_type = event_type
|
|
7250
7277
|
self._type = 'eventType'
|
|
7278
|
+
elif type_of_union == 'createdBy':
|
|
7279
|
+
if created_by is None:
|
|
7280
|
+
raise ValueError('a union value must not be None')
|
|
7281
|
+
self._created_by = created_by
|
|
7282
|
+
self._type = 'createdBy'
|
|
7251
7283
|
elif type_of_union == 'label':
|
|
7252
7284
|
if label is None:
|
|
7253
7285
|
raise ValueError('a union value must not be None')
|
|
@@ -7337,6 +7369,10 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7337
7369
|
def event_type(self) -> Optional["event_EventType"]:
|
|
7338
7370
|
return self._event_type
|
|
7339
7371
|
|
|
7372
|
+
@builtins.property
|
|
7373
|
+
def created_by(self) -> Optional[str]:
|
|
7374
|
+
return self._created_by
|
|
7375
|
+
|
|
7340
7376
|
@builtins.property
|
|
7341
7377
|
def label(self) -> Optional[str]:
|
|
7342
7378
|
return self._label
|
|
@@ -7390,6 +7426,8 @@ class event_SearchQuery(ConjureUnionType):
|
|
|
7390
7426
|
return visitor._assignee(self.assignee)
|
|
7391
7427
|
if self._type == 'eventType' and self.event_type is not None:
|
|
7392
7428
|
return visitor._event_type(self.event_type)
|
|
7429
|
+
if self._type == 'createdBy' and self.created_by is not None:
|
|
7430
|
+
return visitor._created_by(self.created_by)
|
|
7393
7431
|
if self._type == 'label' and self.label is not None:
|
|
7394
7432
|
return visitor._label(self.label)
|
|
7395
7433
|
if self._type == 'property' and self.property is not None:
|
|
@@ -7463,6 +7501,10 @@ class event_SearchQueryVisitor:
|
|
|
7463
7501
|
def _event_type(self, event_type: "event_EventType") -> Any:
|
|
7464
7502
|
pass
|
|
7465
7503
|
|
|
7504
|
+
@abstractmethod
|
|
7505
|
+
def _created_by(self, created_by: str) -> Any:
|
|
7506
|
+
pass
|
|
7507
|
+
|
|
7466
7508
|
@abstractmethod
|
|
7467
7509
|
def _label(self, label: str) -> Any:
|
|
7468
7510
|
pass
|
|
@@ -77393,6 +77435,85 @@ storage_writer_api_ArrayPointsVisitor.__qualname__ = "ArrayPointsVisitor"
|
|
|
77393
77435
|
storage_writer_api_ArrayPointsVisitor.__module__ = "nominal_api.storage_writer_api"
|
|
77394
77436
|
|
|
77395
77437
|
|
|
77438
|
+
class storage_writer_api_ArraysValues(ConjureUnionType):
|
|
77439
|
+
"""Each element within the outer list corresponds to an Array point. Subsequent inner lists contain the array
|
|
77440
|
+
values recorded for that point."""
|
|
77441
|
+
_strings1d: Optional[List[List[str]]] = None
|
|
77442
|
+
_doubles1d: Optional[List[List[float]]] = None
|
|
77443
|
+
|
|
77444
|
+
@builtins.classmethod
|
|
77445
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
77446
|
+
return {
|
|
77447
|
+
'strings1d': ConjureFieldDefinition('strings1d', List[List[str]]),
|
|
77448
|
+
'doubles1d': ConjureFieldDefinition('doubles1d', List[List[float]])
|
|
77449
|
+
}
|
|
77450
|
+
|
|
77451
|
+
def __init__(
|
|
77452
|
+
self,
|
|
77453
|
+
strings1d: Optional[List[List[str]]] = None,
|
|
77454
|
+
doubles1d: Optional[List[List[float]]] = None,
|
|
77455
|
+
type_of_union: Optional[str] = None
|
|
77456
|
+
) -> None:
|
|
77457
|
+
if type_of_union is None:
|
|
77458
|
+
if (strings1d is not None) + (doubles1d is not None) != 1:
|
|
77459
|
+
raise ValueError('a union must contain a single member')
|
|
77460
|
+
|
|
77461
|
+
if strings1d is not None:
|
|
77462
|
+
self._strings1d = strings1d
|
|
77463
|
+
self._type = 'strings1d'
|
|
77464
|
+
if doubles1d is not None:
|
|
77465
|
+
self._doubles1d = doubles1d
|
|
77466
|
+
self._type = 'doubles1d'
|
|
77467
|
+
|
|
77468
|
+
elif type_of_union == 'strings1d':
|
|
77469
|
+
if strings1d is None:
|
|
77470
|
+
raise ValueError('a union value must not be None')
|
|
77471
|
+
self._strings1d = strings1d
|
|
77472
|
+
self._type = 'strings1d'
|
|
77473
|
+
elif type_of_union == 'doubles1d':
|
|
77474
|
+
if doubles1d is None:
|
|
77475
|
+
raise ValueError('a union value must not be None')
|
|
77476
|
+
self._doubles1d = doubles1d
|
|
77477
|
+
self._type = 'doubles1d'
|
|
77478
|
+
|
|
77479
|
+
@builtins.property
|
|
77480
|
+
def strings1d(self) -> Optional[List[List[str]]]:
|
|
77481
|
+
return self._strings1d
|
|
77482
|
+
|
|
77483
|
+
@builtins.property
|
|
77484
|
+
def doubles1d(self) -> Optional[List[List[float]]]:
|
|
77485
|
+
return self._doubles1d
|
|
77486
|
+
|
|
77487
|
+
def accept(self, visitor) -> Any:
|
|
77488
|
+
if not isinstance(visitor, storage_writer_api_ArraysValuesVisitor):
|
|
77489
|
+
raise ValueError('{} is not an instance of storage_writer_api_ArraysValuesVisitor'.format(visitor.__class__.__name__))
|
|
77490
|
+
if self._type == 'strings1d' and self.strings1d is not None:
|
|
77491
|
+
return visitor._strings1d(self.strings1d)
|
|
77492
|
+
if self._type == 'doubles1d' and self.doubles1d is not None:
|
|
77493
|
+
return visitor._doubles1d(self.doubles1d)
|
|
77494
|
+
|
|
77495
|
+
|
|
77496
|
+
storage_writer_api_ArraysValues.__name__ = "ArraysValues"
|
|
77497
|
+
storage_writer_api_ArraysValues.__qualname__ = "ArraysValues"
|
|
77498
|
+
storage_writer_api_ArraysValues.__module__ = "nominal_api.storage_writer_api"
|
|
77499
|
+
|
|
77500
|
+
|
|
77501
|
+
class storage_writer_api_ArraysValuesVisitor:
|
|
77502
|
+
|
|
77503
|
+
@abstractmethod
|
|
77504
|
+
def _strings1d(self, strings1d: List[List[str]]) -> Any:
|
|
77505
|
+
pass
|
|
77506
|
+
|
|
77507
|
+
@abstractmethod
|
|
77508
|
+
def _doubles1d(self, doubles1d: List[List[float]]) -> Any:
|
|
77509
|
+
pass
|
|
77510
|
+
|
|
77511
|
+
|
|
77512
|
+
storage_writer_api_ArraysValuesVisitor.__name__ = "ArraysValuesVisitor"
|
|
77513
|
+
storage_writer_api_ArraysValuesVisitor.__qualname__ = "ArraysValuesVisitor"
|
|
77514
|
+
storage_writer_api_ArraysValuesVisitor.__module__ = "nominal_api.storage_writer_api"
|
|
77515
|
+
|
|
77516
|
+
|
|
77396
77517
|
class storage_writer_api_ColumnBatch(ConjureBeanType):
|
|
77397
77518
|
"""
|
|
77398
77519
|
Batch of data to stream for a single channel with their associated timestamps.
|
|
@@ -77440,7 +77561,7 @@ provided MUST match the number of columnar values provided, otherwise a 400 erro
|
|
|
77440
77561
|
@builtins.property
|
|
77441
77562
|
def values(self) -> "storage_writer_api_ColumnValues":
|
|
77442
77563
|
"""
|
|
77443
|
-
List of
|
|
77564
|
+
List of time series values that should be ingested to a single channel. The number of columnar values
|
|
77444
77565
|
provided MUST match the number of timestamps provided, otherwise a 400 error will be returned.
|
|
77445
77566
|
"""
|
|
77446
77567
|
return self._values
|
|
@@ -77452,17 +77573,19 @@ storage_writer_api_ColumnBatch.__module__ = "nominal_api.storage_writer_api"
|
|
|
77452
77573
|
|
|
77453
77574
|
|
|
77454
77575
|
class storage_writer_api_ColumnValues(ConjureUnionType):
|
|
77455
|
-
"""List of values
|
|
77576
|
+
"""List of values for a set of points to ingest from a single channel."""
|
|
77456
77577
|
_strings: Optional[List[str]] = None
|
|
77457
77578
|
_doubles: Optional[List[float]] = None
|
|
77458
77579
|
_ints: Optional[List[int]] = None
|
|
77580
|
+
_arrays: Optional["storage_writer_api_ArraysValues"] = None
|
|
77459
77581
|
|
|
77460
77582
|
@builtins.classmethod
|
|
77461
77583
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
77462
77584
|
return {
|
|
77463
77585
|
'strings': ConjureFieldDefinition('strings', List[str]),
|
|
77464
77586
|
'doubles': ConjureFieldDefinition('doubles', List[float]),
|
|
77465
|
-
'ints': ConjureFieldDefinition('ints', List[int])
|
|
77587
|
+
'ints': ConjureFieldDefinition('ints', List[int]),
|
|
77588
|
+
'arrays': ConjureFieldDefinition('arrays', storage_writer_api_ArraysValues)
|
|
77466
77589
|
}
|
|
77467
77590
|
|
|
77468
77591
|
def __init__(
|
|
@@ -77470,10 +77593,11 @@ class storage_writer_api_ColumnValues(ConjureUnionType):
|
|
|
77470
77593
|
strings: Optional[List[str]] = None,
|
|
77471
77594
|
doubles: Optional[List[float]] = None,
|
|
77472
77595
|
ints: Optional[List[int]] = None,
|
|
77596
|
+
arrays: Optional["storage_writer_api_ArraysValues"] = None,
|
|
77473
77597
|
type_of_union: Optional[str] = None
|
|
77474
77598
|
) -> None:
|
|
77475
77599
|
if type_of_union is None:
|
|
77476
|
-
if (strings is not None) + (doubles is not None) + (ints is not None) != 1:
|
|
77600
|
+
if (strings is not None) + (doubles is not None) + (ints is not None) + (arrays is not None) != 1:
|
|
77477
77601
|
raise ValueError('a union must contain a single member')
|
|
77478
77602
|
|
|
77479
77603
|
if strings is not None:
|
|
@@ -77485,6 +77609,9 @@ class storage_writer_api_ColumnValues(ConjureUnionType):
|
|
|
77485
77609
|
if ints is not None:
|
|
77486
77610
|
self._ints = ints
|
|
77487
77611
|
self._type = 'ints'
|
|
77612
|
+
if arrays is not None:
|
|
77613
|
+
self._arrays = arrays
|
|
77614
|
+
self._type = 'arrays'
|
|
77488
77615
|
|
|
77489
77616
|
elif type_of_union == 'strings':
|
|
77490
77617
|
if strings is None:
|
|
@@ -77501,6 +77628,11 @@ class storage_writer_api_ColumnValues(ConjureUnionType):
|
|
|
77501
77628
|
raise ValueError('a union value must not be None')
|
|
77502
77629
|
self._ints = ints
|
|
77503
77630
|
self._type = 'ints'
|
|
77631
|
+
elif type_of_union == 'arrays':
|
|
77632
|
+
if arrays is None:
|
|
77633
|
+
raise ValueError('a union value must not be None')
|
|
77634
|
+
self._arrays = arrays
|
|
77635
|
+
self._type = 'arrays'
|
|
77504
77636
|
|
|
77505
77637
|
@builtins.property
|
|
77506
77638
|
def strings(self) -> Optional[List[str]]:
|
|
@@ -77514,6 +77646,10 @@ class storage_writer_api_ColumnValues(ConjureUnionType):
|
|
|
77514
77646
|
def ints(self) -> Optional[List[int]]:
|
|
77515
77647
|
return self._ints
|
|
77516
77648
|
|
|
77649
|
+
@builtins.property
|
|
77650
|
+
def arrays(self) -> Optional["storage_writer_api_ArraysValues"]:
|
|
77651
|
+
return self._arrays
|
|
77652
|
+
|
|
77517
77653
|
def accept(self, visitor) -> Any:
|
|
77518
77654
|
if not isinstance(visitor, storage_writer_api_ColumnValuesVisitor):
|
|
77519
77655
|
raise ValueError('{} is not an instance of storage_writer_api_ColumnValuesVisitor'.format(visitor.__class__.__name__))
|
|
@@ -77523,6 +77659,8 @@ class storage_writer_api_ColumnValues(ConjureUnionType):
|
|
|
77523
77659
|
return visitor._doubles(self.doubles)
|
|
77524
77660
|
if self._type == 'ints' and self.ints is not None:
|
|
77525
77661
|
return visitor._ints(self.ints)
|
|
77662
|
+
if self._type == 'arrays' and self.arrays is not None:
|
|
77663
|
+
return visitor._arrays(self.arrays)
|
|
77526
77664
|
|
|
77527
77665
|
|
|
77528
77666
|
storage_writer_api_ColumnValues.__name__ = "ColumnValues"
|
|
@@ -77544,6 +77682,10 @@ class storage_writer_api_ColumnValuesVisitor:
|
|
|
77544
77682
|
def _ints(self, ints: List[int]) -> Any:
|
|
77545
77683
|
pass
|
|
77546
77684
|
|
|
77685
|
+
@abstractmethod
|
|
77686
|
+
def _arrays(self, arrays: "storage_writer_api_ArraysValues") -> Any:
|
|
77687
|
+
pass
|
|
77688
|
+
|
|
77547
77689
|
|
|
77548
77690
|
storage_writer_api_ColumnValuesVisitor.__name__ = "ColumnValuesVisitor"
|
|
77549
77691
|
storage_writer_api_ColumnValuesVisitor.__qualname__ = "ColumnValuesVisitor"
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
from .._impl import (
|
|
3
3
|
storage_writer_api_ArrayPoints as ArrayPoints,
|
|
4
4
|
storage_writer_api_ArrayPointsVisitor as ArrayPointsVisitor,
|
|
5
|
+
storage_writer_api_ArraysValues as ArraysValues,
|
|
6
|
+
storage_writer_api_ArraysValuesVisitor as ArraysValuesVisitor,
|
|
5
7
|
storage_writer_api_ColumnBatch as ColumnBatch,
|
|
6
8
|
storage_writer_api_ColumnValues as ColumnValues,
|
|
7
9
|
storage_writer_api_ColumnValuesVisitor as ColumnValuesVisitor,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/datasource_pagination_api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_channelvariables_api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_chartdefinition_api/__init__.py
RENAMED
|
File without changes
|
{nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_checklistexecution_api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_comparisonnotebook_api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_compute_api_deprecated/__init__.py
RENAMED
|
File without changes
|
{nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_compute_resolved_api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_datasource_connection/__init__.py
RENAMED
|
File without changes
|
{nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_datasource_connection_api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_internal_search_api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/scout_workbookcommon_api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/timeseries_archetype_api/__init__.py
RENAMED
|
File without changes
|
{nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/timeseries_channelmetadata/__init__.py
RENAMED
|
File without changes
|
{nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/timeseries_channelmetadata_api/__init__.py
RENAMED
|
File without changes
|
{nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/timeseries_logicalseries/__init__.py
RENAMED
|
File without changes
|
{nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/timeseries_logicalseries_api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{nominal_api-0.705.1 → nominal_api-0.706.0}/nominal_api/timeseries_seriescache_api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|