nominal-api 0.590.0__py3-none-any.whl → 0.592.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 +46 -689
- nominal_api/storage_series_api/__init__.py +0 -10
- nominal_api/timeseries_logicalseries_api/__init__.py +0 -3
- {nominal_api-0.590.0.dist-info → nominal_api-0.592.0.dist-info}/METADATA +1 -1
- {nominal_api-0.590.0.dist-info → nominal_api-0.592.0.dist-info}/RECORD +8 -8
- {nominal_api-0.590.0.dist-info → nominal_api-0.592.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.590.0.dist-info → nominal_api-0.592.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -10467,7 +10467,7 @@ Throws if the resource already has a commit graph.
|
|
|
10467
10467
|
|
|
10468
10468
|
_json: Any = ConjureEncoder().default(request)
|
|
10469
10469
|
|
|
10470
|
-
_path = '/scout/v1/versioning/
|
|
10470
|
+
_path = '/internal/scout/v1/versioning/{resourceRid}'
|
|
10471
10471
|
_path = _path.format(**_path_params)
|
|
10472
10472
|
|
|
10473
10473
|
_response: Response = self._request(
|
|
@@ -10503,7 +10503,7 @@ Throws if latestCommit is passed and is not the latest commit.
|
|
|
10503
10503
|
|
|
10504
10504
|
_json: Any = ConjureEncoder().default(request)
|
|
10505
10505
|
|
|
10506
|
-
_path = '/scout/v1/versioning/
|
|
10506
|
+
_path = '/internal/scout/v1/versioning/{resourceRid}/branch/{branchName}/working-state'
|
|
10507
10507
|
_path = _path.format(**_path_params)
|
|
10508
10508
|
|
|
10509
10509
|
_response: Response = self._request(
|
|
@@ -10539,7 +10539,7 @@ Throws if latestCommit is passed and is not the latest commit.
|
|
|
10539
10539
|
|
|
10540
10540
|
_json: Any = ConjureEncoder().default(request)
|
|
10541
10541
|
|
|
10542
|
-
_path = '/scout/v1/versioning/
|
|
10542
|
+
_path = '/internal/scout/v1/versioning/{resourceRid}/branch/{branchName}/commit'
|
|
10543
10543
|
_path = _path.format(**_path_params)
|
|
10544
10544
|
|
|
10545
10545
|
_response: Response = self._request(
|
|
@@ -10576,7 +10576,7 @@ Throws if the resource doesn't exist.
|
|
|
10576
10576
|
|
|
10577
10577
|
_json: Any = ConjureEncoder().default(request)
|
|
10578
10578
|
|
|
10579
|
-
_path = '/scout/v1/versioning/
|
|
10579
|
+
_path = '/internal/scout/v1/versioning/{resourceRid}/compact-commits'
|
|
10580
10580
|
_path = _path.format(**_path_params)
|
|
10581
10581
|
|
|
10582
10582
|
_response: Response = self._request(
|
|
@@ -23832,6 +23832,7 @@ class scout_checks_api_ChecklistSearchQuery(ConjureUnionType):
|
|
|
23832
23832
|
_assignee_rid: Optional[str] = None
|
|
23833
23833
|
_is_published: Optional[bool] = None
|
|
23834
23834
|
_not_: Optional["scout_checks_api_ChecklistSearchQuery"] = None
|
|
23835
|
+
_workspace: Optional[str] = None
|
|
23835
23836
|
|
|
23836
23837
|
@builtins.classmethod
|
|
23837
23838
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
@@ -23844,7 +23845,8 @@ class scout_checks_api_ChecklistSearchQuery(ConjureUnionType):
|
|
|
23844
23845
|
'author_rid': ConjureFieldDefinition('authorRid', scout_rids_api_UserRid),
|
|
23845
23846
|
'assignee_rid': ConjureFieldDefinition('assigneeRid', scout_rids_api_UserRid),
|
|
23846
23847
|
'is_published': ConjureFieldDefinition('isPublished', bool),
|
|
23847
|
-
'not_': ConjureFieldDefinition('not', scout_checks_api_ChecklistSearchQuery)
|
|
23848
|
+
'not_': ConjureFieldDefinition('not', scout_checks_api_ChecklistSearchQuery),
|
|
23849
|
+
'workspace': ConjureFieldDefinition('workspace', api_ids_WorkspaceId)
|
|
23848
23850
|
}
|
|
23849
23851
|
|
|
23850
23852
|
def __init__(
|
|
@@ -23858,10 +23860,11 @@ class scout_checks_api_ChecklistSearchQuery(ConjureUnionType):
|
|
|
23858
23860
|
assignee_rid: Optional[str] = None,
|
|
23859
23861
|
is_published: Optional[bool] = None,
|
|
23860
23862
|
not_: Optional["scout_checks_api_ChecklistSearchQuery"] = None,
|
|
23863
|
+
workspace: Optional[str] = None,
|
|
23861
23864
|
type_of_union: Optional[str] = None
|
|
23862
23865
|
) -> None:
|
|
23863
23866
|
if type_of_union is None:
|
|
23864
|
-
if (and_ is not None) + (or_ is not None) + (search_text is not None) + (label is not None) + (property is not None) + (author_rid is not None) + (assignee_rid is not None) + (is_published is not None) + (not_ is not None) != 1:
|
|
23867
|
+
if (and_ is not None) + (or_ is not None) + (search_text is not None) + (label is not None) + (property is not None) + (author_rid is not None) + (assignee_rid is not None) + (is_published is not None) + (not_ is not None) + (workspace is not None) != 1:
|
|
23865
23868
|
raise ValueError('a union must contain a single member')
|
|
23866
23869
|
|
|
23867
23870
|
if and_ is not None:
|
|
@@ -23891,6 +23894,9 @@ class scout_checks_api_ChecklistSearchQuery(ConjureUnionType):
|
|
|
23891
23894
|
if not_ is not None:
|
|
23892
23895
|
self._not_ = not_
|
|
23893
23896
|
self._type = 'not'
|
|
23897
|
+
if workspace is not None:
|
|
23898
|
+
self._workspace = workspace
|
|
23899
|
+
self._type = 'workspace'
|
|
23894
23900
|
|
|
23895
23901
|
elif type_of_union == 'and':
|
|
23896
23902
|
if and_ is None:
|
|
@@ -23937,6 +23943,11 @@ class scout_checks_api_ChecklistSearchQuery(ConjureUnionType):
|
|
|
23937
23943
|
raise ValueError('a union value must not be None')
|
|
23938
23944
|
self._not_ = not_
|
|
23939
23945
|
self._type = 'not'
|
|
23946
|
+
elif type_of_union == 'workspace':
|
|
23947
|
+
if workspace is None:
|
|
23948
|
+
raise ValueError('a union value must not be None')
|
|
23949
|
+
self._workspace = workspace
|
|
23950
|
+
self._type = 'workspace'
|
|
23940
23951
|
|
|
23941
23952
|
@builtins.property
|
|
23942
23953
|
def and_(self) -> Optional[List["scout_checks_api_ChecklistSearchQuery"]]:
|
|
@@ -23974,6 +23985,10 @@ class scout_checks_api_ChecklistSearchQuery(ConjureUnionType):
|
|
|
23974
23985
|
def not_(self) -> Optional["scout_checks_api_ChecklistSearchQuery"]:
|
|
23975
23986
|
return self._not_
|
|
23976
23987
|
|
|
23988
|
+
@builtins.property
|
|
23989
|
+
def workspace(self) -> Optional[str]:
|
|
23990
|
+
return self._workspace
|
|
23991
|
+
|
|
23977
23992
|
def accept(self, visitor) -> Any:
|
|
23978
23993
|
if not isinstance(visitor, scout_checks_api_ChecklistSearchQueryVisitor):
|
|
23979
23994
|
raise ValueError('{} is not an instance of scout_checks_api_ChecklistSearchQueryVisitor'.format(visitor.__class__.__name__))
|
|
@@ -23995,6 +24010,8 @@ class scout_checks_api_ChecklistSearchQuery(ConjureUnionType):
|
|
|
23995
24010
|
return visitor._is_published(self.is_published)
|
|
23996
24011
|
if self._type == 'not' and self.not_ is not None:
|
|
23997
24012
|
return visitor._not(self.not_)
|
|
24013
|
+
if self._type == 'workspace' and self.workspace is not None:
|
|
24014
|
+
return visitor._workspace(self.workspace)
|
|
23998
24015
|
|
|
23999
24016
|
|
|
24000
24017
|
scout_checks_api_ChecklistSearchQuery.__name__ = "ChecklistSearchQuery"
|
|
@@ -24040,6 +24057,10 @@ class scout_checks_api_ChecklistSearchQueryVisitor:
|
|
|
24040
24057
|
def _not(self, not_: "scout_checks_api_ChecklistSearchQuery") -> Any:
|
|
24041
24058
|
pass
|
|
24042
24059
|
|
|
24060
|
+
@abstractmethod
|
|
24061
|
+
def _workspace(self, workspace: str) -> Any:
|
|
24062
|
+
pass
|
|
24063
|
+
|
|
24043
24064
|
|
|
24044
24065
|
scout_checks_api_ChecklistSearchQueryVisitor.__name__ = "ChecklistSearchQueryVisitor"
|
|
24045
24066
|
scout_checks_api_ChecklistSearchQueryVisitor.__qualname__ = "ChecklistSearchQueryVisitor"
|
|
@@ -24521,10 +24542,11 @@ If neither is specified, branch = "main" is the default.
|
|
|
24521
24542
|
_decoder = ConjureDecoder()
|
|
24522
24543
|
return _decoder.decode(_response.json(), List[scout_checks_api_Check], self._return_none_for_unknown_union_types)
|
|
24523
24544
|
|
|
24524
|
-
def get_all_labels_and_properties(self, auth_header: str) -> "scout_checks_api_GetAllLabelsAndPropertiesResponse":
|
|
24545
|
+
def get_all_labels_and_properties(self, auth_header: str, workspaces: List[str] = None) -> "scout_checks_api_GetAllLabelsAndPropertiesResponse":
|
|
24525
24546
|
"""
|
|
24526
24547
|
Returns all labels and properties.
|
|
24527
24548
|
"""
|
|
24549
|
+
workspaces = workspaces if workspaces is not None else []
|
|
24528
24550
|
|
|
24529
24551
|
_headers: Dict[str, Any] = {
|
|
24530
24552
|
'Accept': 'application/json',
|
|
@@ -24532,6 +24554,7 @@ If neither is specified, branch = "main" is the default.
|
|
|
24532
24554
|
}
|
|
24533
24555
|
|
|
24534
24556
|
_params: Dict[str, Any] = {
|
|
24557
|
+
'workspaces': workspaces,
|
|
24535
24558
|
}
|
|
24536
24559
|
|
|
24537
24560
|
_path_params: Dict[str, Any] = {
|
|
@@ -24857,12 +24880,13 @@ class scout_checks_api_CreateChecklistRequest(ConjureBeanType):
|
|
|
24857
24880
|
'properties': ConjureFieldDefinition('properties', Dict[api_PropertyName, api_PropertyValue]),
|
|
24858
24881
|
'labels': ConjureFieldDefinition('labels', List[api_Label]),
|
|
24859
24882
|
'checklist_variables': ConjureFieldDefinition('checklistVariables', List[scout_checks_api_UnresolvedChecklistVariable]),
|
|
24860
|
-
'is_published': ConjureFieldDefinition('isPublished', OptionalTypeWrapper[bool])
|
|
24883
|
+
'is_published': ConjureFieldDefinition('isPublished', OptionalTypeWrapper[bool]),
|
|
24884
|
+
'workspace': ConjureFieldDefinition('workspace', OptionalTypeWrapper[api_ids_WorkspaceId])
|
|
24861
24885
|
}
|
|
24862
24886
|
|
|
24863
|
-
__slots__: List[str] = ['_commit_message', '_assignee_rid', '_title', '_description', '_functions', '_checks', '_properties', '_labels', '_checklist_variables', '_is_published']
|
|
24887
|
+
__slots__: List[str] = ['_commit_message', '_assignee_rid', '_title', '_description', '_functions', '_checks', '_properties', '_labels', '_checklist_variables', '_is_published', '_workspace']
|
|
24864
24888
|
|
|
24865
|
-
def __init__(self, assignee_rid: str, checklist_variables: List["scout_checks_api_UnresolvedChecklistVariable"], checks: List["scout_checks_api_CreateChecklistEntryRequest"], commit_message: str, description: str, functions: Dict[str, "scout_checks_api_CreateFunctionRequest"], labels: List[str], properties: Dict[str, str], title: str, is_published: Optional[bool] = None) -> None:
|
|
24889
|
+
def __init__(self, assignee_rid: str, checklist_variables: List["scout_checks_api_UnresolvedChecklistVariable"], checks: List["scout_checks_api_CreateChecklistEntryRequest"], commit_message: str, description: str, functions: Dict[str, "scout_checks_api_CreateFunctionRequest"], labels: List[str], properties: Dict[str, str], title: str, is_published: Optional[bool] = None, workspace: Optional[str] = None) -> None:
|
|
24866
24890
|
self._commit_message = commit_message
|
|
24867
24891
|
self._assignee_rid = assignee_rid
|
|
24868
24892
|
self._title = title
|
|
@@ -24873,6 +24897,7 @@ class scout_checks_api_CreateChecklistRequest(ConjureBeanType):
|
|
|
24873
24897
|
self._labels = labels
|
|
24874
24898
|
self._checklist_variables = checklist_variables
|
|
24875
24899
|
self._is_published = is_published
|
|
24900
|
+
self._workspace = workspace
|
|
24876
24901
|
|
|
24877
24902
|
@builtins.property
|
|
24878
24903
|
def commit_message(self) -> str:
|
|
@@ -24924,6 +24949,14 @@ If variable `a` depends on variable `b`, then `b` must be defined before `a` in
|
|
|
24924
24949
|
"""
|
|
24925
24950
|
return self._is_published
|
|
24926
24951
|
|
|
24952
|
+
@builtins.property
|
|
24953
|
+
def workspace(self) -> Optional[str]:
|
|
24954
|
+
"""
|
|
24955
|
+
The workspace in which to create the checklist. If not provided, the checklist will be created in the default workspace for
|
|
24956
|
+
the user's organization, if the default workspace for the organization is configured.
|
|
24957
|
+
"""
|
|
24958
|
+
return self._workspace
|
|
24959
|
+
|
|
24927
24960
|
|
|
24928
24961
|
scout_checks_api_CreateChecklistRequest.__name__ = "CreateChecklistRequest"
|
|
24929
24962
|
scout_checks_api_CreateChecklistRequest.__qualname__ = "CreateChecklistRequest"
|
|
@@ -68141,143 +68174,6 @@ storage_deletion_api_TimeRange.__qualname__ = "TimeRange"
|
|
|
68141
68174
|
storage_deletion_api_TimeRange.__module__ = "nominal_api.storage_deletion_api"
|
|
68142
68175
|
|
|
68143
68176
|
|
|
68144
|
-
class storage_series_api_BatchCreateOrGetResponse(ConjureBeanType):
|
|
68145
|
-
|
|
68146
|
-
@builtins.classmethod
|
|
68147
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
68148
|
-
return {
|
|
68149
|
-
'created_series': ConjureFieldDefinition('createdSeries', List[storage_series_api_NominalSeries]),
|
|
68150
|
-
'existing_series': ConjureFieldDefinition('existingSeries', List[storage_series_api_NominalSeries])
|
|
68151
|
-
}
|
|
68152
|
-
|
|
68153
|
-
__slots__: List[str] = ['_created_series', '_existing_series']
|
|
68154
|
-
|
|
68155
|
-
def __init__(self, created_series: List["storage_series_api_NominalSeries"], existing_series: List["storage_series_api_NominalSeries"]) -> None:
|
|
68156
|
-
self._created_series = created_series
|
|
68157
|
-
self._existing_series = existing_series
|
|
68158
|
-
|
|
68159
|
-
@builtins.property
|
|
68160
|
-
def created_series(self) -> List["storage_series_api_NominalSeries"]:
|
|
68161
|
-
return self._created_series
|
|
68162
|
-
|
|
68163
|
-
@builtins.property
|
|
68164
|
-
def existing_series(self) -> List["storage_series_api_NominalSeries"]:
|
|
68165
|
-
return self._existing_series
|
|
68166
|
-
|
|
68167
|
-
|
|
68168
|
-
storage_series_api_BatchCreateOrGetResponse.__name__ = "BatchCreateOrGetResponse"
|
|
68169
|
-
storage_series_api_BatchCreateOrGetResponse.__qualname__ = "BatchCreateOrGetResponse"
|
|
68170
|
-
storage_series_api_BatchCreateOrGetResponse.__module__ = "nominal_api.storage_series_api"
|
|
68171
|
-
|
|
68172
|
-
|
|
68173
|
-
class storage_series_api_BatchUpdateLastTouchedAtRequest(ConjureBeanType):
|
|
68174
|
-
|
|
68175
|
-
@builtins.classmethod
|
|
68176
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
68177
|
-
return {
|
|
68178
|
-
'requests': ConjureFieldDefinition('requests', List[storage_series_api_UpdateLastTouchedAtRequest]),
|
|
68179
|
-
'time': ConjureFieldDefinition('time', api_Timestamp)
|
|
68180
|
-
}
|
|
68181
|
-
|
|
68182
|
-
__slots__: List[str] = ['_requests', '_time']
|
|
68183
|
-
|
|
68184
|
-
def __init__(self, requests: List["storage_series_api_UpdateLastTouchedAtRequest"], time: "api_Timestamp") -> None:
|
|
68185
|
-
self._requests = requests
|
|
68186
|
-
self._time = time
|
|
68187
|
-
|
|
68188
|
-
@builtins.property
|
|
68189
|
-
def requests(self) -> List["storage_series_api_UpdateLastTouchedAtRequest"]:
|
|
68190
|
-
return self._requests
|
|
68191
|
-
|
|
68192
|
-
@builtins.property
|
|
68193
|
-
def time(self) -> "api_Timestamp":
|
|
68194
|
-
return self._time
|
|
68195
|
-
|
|
68196
|
-
|
|
68197
|
-
storage_series_api_BatchUpdateLastTouchedAtRequest.__name__ = "BatchUpdateLastTouchedAtRequest"
|
|
68198
|
-
storage_series_api_BatchUpdateLastTouchedAtRequest.__qualname__ = "BatchUpdateLastTouchedAtRequest"
|
|
68199
|
-
storage_series_api_BatchUpdateLastTouchedAtRequest.__module__ = "nominal_api.storage_series_api"
|
|
68200
|
-
|
|
68201
|
-
|
|
68202
|
-
class storage_series_api_CreateSeriesRequest(ConjureBeanType):
|
|
68203
|
-
|
|
68204
|
-
@builtins.classmethod
|
|
68205
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
68206
|
-
return {
|
|
68207
|
-
'type': ConjureFieldDefinition('type', storage_series_api_NominalDataType),
|
|
68208
|
-
'data_source_rid': ConjureFieldDefinition('dataSourceRid', api_rids_NominalDataSourceRid),
|
|
68209
|
-
'channel': ConjureFieldDefinition('channel', api_Channel),
|
|
68210
|
-
'tags': ConjureFieldDefinition('tags', Dict[api_TagName, api_TagValue])
|
|
68211
|
-
}
|
|
68212
|
-
|
|
68213
|
-
__slots__: List[str] = ['_type', '_data_source_rid', '_channel', '_tags']
|
|
68214
|
-
|
|
68215
|
-
def __init__(self, channel: str, data_source_rid: str, tags: Dict[str, str], type: "storage_series_api_NominalDataType") -> None:
|
|
68216
|
-
self._type = type
|
|
68217
|
-
self._data_source_rid = data_source_rid
|
|
68218
|
-
self._channel = channel
|
|
68219
|
-
self._tags = tags
|
|
68220
|
-
|
|
68221
|
-
@builtins.property
|
|
68222
|
-
def type(self) -> "storage_series_api_NominalDataType":
|
|
68223
|
-
return self._type
|
|
68224
|
-
|
|
68225
|
-
@builtins.property
|
|
68226
|
-
def data_source_rid(self) -> str:
|
|
68227
|
-
return self._data_source_rid
|
|
68228
|
-
|
|
68229
|
-
@builtins.property
|
|
68230
|
-
def channel(self) -> str:
|
|
68231
|
-
return self._channel
|
|
68232
|
-
|
|
68233
|
-
@builtins.property
|
|
68234
|
-
def tags(self) -> Dict[str, str]:
|
|
68235
|
-
return self._tags
|
|
68236
|
-
|
|
68237
|
-
|
|
68238
|
-
storage_series_api_CreateSeriesRequest.__name__ = "CreateSeriesRequest"
|
|
68239
|
-
storage_series_api_CreateSeriesRequest.__qualname__ = "CreateSeriesRequest"
|
|
68240
|
-
storage_series_api_CreateSeriesRequest.__module__ = "nominal_api.storage_series_api"
|
|
68241
|
-
|
|
68242
|
-
|
|
68243
|
-
class storage_series_api_GetSeriesByChannelAndTagsRequest(ConjureBeanType):
|
|
68244
|
-
|
|
68245
|
-
@builtins.classmethod
|
|
68246
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
68247
|
-
return {
|
|
68248
|
-
'channel': ConjureFieldDefinition('channel', api_Channel),
|
|
68249
|
-
'data_source_rid': ConjureFieldDefinition('dataSourceRid', api_rids_NominalDataSourceRid),
|
|
68250
|
-
'tags': ConjureFieldDefinition('tags', Dict[api_TagName, api_TagValue])
|
|
68251
|
-
}
|
|
68252
|
-
|
|
68253
|
-
__slots__: List[str] = ['_channel', '_data_source_rid', '_tags']
|
|
68254
|
-
|
|
68255
|
-
def __init__(self, channel: str, data_source_rid: str, tags: Dict[str, str]) -> None:
|
|
68256
|
-
self._channel = channel
|
|
68257
|
-
self._data_source_rid = data_source_rid
|
|
68258
|
-
self._tags = tags
|
|
68259
|
-
|
|
68260
|
-
@builtins.property
|
|
68261
|
-
def channel(self) -> str:
|
|
68262
|
-
return self._channel
|
|
68263
|
-
|
|
68264
|
-
@builtins.property
|
|
68265
|
-
def data_source_rid(self) -> str:
|
|
68266
|
-
return self._data_source_rid
|
|
68267
|
-
|
|
68268
|
-
@builtins.property
|
|
68269
|
-
def tags(self) -> Dict[str, str]:
|
|
68270
|
-
"""
|
|
68271
|
-
Returns a series that match this set of tags exactly.
|
|
68272
|
-
"""
|
|
68273
|
-
return self._tags
|
|
68274
|
-
|
|
68275
|
-
|
|
68276
|
-
storage_series_api_GetSeriesByChannelAndTagsRequest.__name__ = "GetSeriesByChannelAndTagsRequest"
|
|
68277
|
-
storage_series_api_GetSeriesByChannelAndTagsRequest.__qualname__ = "GetSeriesByChannelAndTagsRequest"
|
|
68278
|
-
storage_series_api_GetSeriesByChannelAndTagsRequest.__module__ = "nominal_api.storage_series_api"
|
|
68279
|
-
|
|
68280
|
-
|
|
68281
68177
|
class storage_series_api_NominalDataType(ConjureEnumType):
|
|
68282
68178
|
"""
|
|
68283
68179
|
The data types supported by Nominal's database.
|
|
@@ -68303,426 +68199,6 @@ storage_series_api_NominalDataType.__qualname__ = "NominalDataType"
|
|
|
68303
68199
|
storage_series_api_NominalDataType.__module__ = "nominal_api.storage_series_api"
|
|
68304
68200
|
|
|
68305
68201
|
|
|
68306
|
-
class storage_series_api_NominalSeries(ConjureBeanType):
|
|
68307
|
-
|
|
68308
|
-
@builtins.classmethod
|
|
68309
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
68310
|
-
return {
|
|
68311
|
-
'rid': ConjureFieldDefinition('rid', storage_series_api_NominalSeriesRid),
|
|
68312
|
-
'type': ConjureFieldDefinition('type', storage_series_api_NominalDataType),
|
|
68313
|
-
'data_source_rid': ConjureFieldDefinition('dataSourceRid', api_rids_NominalDataSourceRid),
|
|
68314
|
-
'channel': ConjureFieldDefinition('channel', api_Channel),
|
|
68315
|
-
'tags': ConjureFieldDefinition('tags', Dict[api_TagName, api_TagValue])
|
|
68316
|
-
}
|
|
68317
|
-
|
|
68318
|
-
__slots__: List[str] = ['_rid', '_type', '_data_source_rid', '_channel', '_tags']
|
|
68319
|
-
|
|
68320
|
-
def __init__(self, channel: str, data_source_rid: str, rid: str, tags: Dict[str, str], type: "storage_series_api_NominalDataType") -> None:
|
|
68321
|
-
self._rid = rid
|
|
68322
|
-
self._type = type
|
|
68323
|
-
self._data_source_rid = data_source_rid
|
|
68324
|
-
self._channel = channel
|
|
68325
|
-
self._tags = tags
|
|
68326
|
-
|
|
68327
|
-
@builtins.property
|
|
68328
|
-
def rid(self) -> str:
|
|
68329
|
-
return self._rid
|
|
68330
|
-
|
|
68331
|
-
@builtins.property
|
|
68332
|
-
def type(self) -> "storage_series_api_NominalDataType":
|
|
68333
|
-
return self._type
|
|
68334
|
-
|
|
68335
|
-
@builtins.property
|
|
68336
|
-
def data_source_rid(self) -> str:
|
|
68337
|
-
return self._data_source_rid
|
|
68338
|
-
|
|
68339
|
-
@builtins.property
|
|
68340
|
-
def channel(self) -> str:
|
|
68341
|
-
return self._channel
|
|
68342
|
-
|
|
68343
|
-
@builtins.property
|
|
68344
|
-
def tags(self) -> Dict[str, str]:
|
|
68345
|
-
return self._tags
|
|
68346
|
-
|
|
68347
|
-
|
|
68348
|
-
storage_series_api_NominalSeries.__name__ = "NominalSeries"
|
|
68349
|
-
storage_series_api_NominalSeries.__qualname__ = "NominalSeries"
|
|
68350
|
-
storage_series_api_NominalSeries.__module__ = "nominal_api.storage_series_api"
|
|
68351
|
-
|
|
68352
|
-
|
|
68353
|
-
class storage_series_api_NominalSeriesService(Service):
|
|
68354
|
-
"""
|
|
68355
|
-
Create and fetch series stored by Nominal. This service is deprecated.
|
|
68356
|
-
"""
|
|
68357
|
-
|
|
68358
|
-
def get(self, auth_header: str, rid: str) -> "storage_series_api_NominalSeries":
|
|
68359
|
-
"""
|
|
68360
|
-
Retrieves a series for the given series RID.
|
|
68361
|
-
"""
|
|
68362
|
-
|
|
68363
|
-
_headers: Dict[str, Any] = {
|
|
68364
|
-
'Accept': 'application/json',
|
|
68365
|
-
'Authorization': auth_header,
|
|
68366
|
-
}
|
|
68367
|
-
|
|
68368
|
-
_params: Dict[str, Any] = {
|
|
68369
|
-
}
|
|
68370
|
-
|
|
68371
|
-
_path_params: Dict[str, Any] = {
|
|
68372
|
-
'rid': rid,
|
|
68373
|
-
}
|
|
68374
|
-
|
|
68375
|
-
_json: Any = None
|
|
68376
|
-
|
|
68377
|
-
_path = '/storage/series/v1/{rid}'
|
|
68378
|
-
_path = _path.format(**_path_params)
|
|
68379
|
-
|
|
68380
|
-
_response: Response = self._request(
|
|
68381
|
-
'GET',
|
|
68382
|
-
self._uri + _path,
|
|
68383
|
-
params=_params,
|
|
68384
|
-
headers=_headers,
|
|
68385
|
-
json=_json)
|
|
68386
|
-
|
|
68387
|
-
_decoder = ConjureDecoder()
|
|
68388
|
-
return _decoder.decode(_response.json(), storage_series_api_NominalSeries, self._return_none_for_unknown_union_types)
|
|
68389
|
-
|
|
68390
|
-
def batch_get(self, auth_header: str, rids: List[str] = None) -> List["storage_series_api_NominalSeries"]:
|
|
68391
|
-
"""
|
|
68392
|
-
Retrieves series for the given series RIDs.
|
|
68393
|
-
Excludes series that do not exist or are unauthorized. A maximum of 1000 rids can be requested.
|
|
68394
|
-
"""
|
|
68395
|
-
rids = rids if rids is not None else []
|
|
68396
|
-
|
|
68397
|
-
_headers: Dict[str, Any] = {
|
|
68398
|
-
'Accept': 'application/json',
|
|
68399
|
-
'Content-Type': 'application/json',
|
|
68400
|
-
'Authorization': auth_header,
|
|
68401
|
-
}
|
|
68402
|
-
|
|
68403
|
-
_params: Dict[str, Any] = {
|
|
68404
|
-
}
|
|
68405
|
-
|
|
68406
|
-
_path_params: Dict[str, Any] = {
|
|
68407
|
-
}
|
|
68408
|
-
|
|
68409
|
-
_json: Any = ConjureEncoder().default(rids)
|
|
68410
|
-
|
|
68411
|
-
_path = '/storage/series/v1/batch-get'
|
|
68412
|
-
_path = _path.format(**_path_params)
|
|
68413
|
-
|
|
68414
|
-
_response: Response = self._request(
|
|
68415
|
-
'POST',
|
|
68416
|
-
self._uri + _path,
|
|
68417
|
-
params=_params,
|
|
68418
|
-
headers=_headers,
|
|
68419
|
-
json=_json)
|
|
68420
|
-
|
|
68421
|
-
_decoder = ConjureDecoder()
|
|
68422
|
-
return _decoder.decode(_response.json(), List[storage_series_api_NominalSeries], self._return_none_for_unknown_union_types)
|
|
68423
|
-
|
|
68424
|
-
def batch_get_by_channel_and_tags(self, auth_header: str, request: List["storage_series_api_GetSeriesByChannelAndTagsRequest"] = None) -> List["storage_series_api_NominalSeries"]:
|
|
68425
|
-
"""
|
|
68426
|
-
Retrieves series that match the requested data source, channel name and tags exactly.
|
|
68427
|
-
Omits series that do not exist or are unauthorized. A maximum of 1000 rids can be requested.
|
|
68428
|
-
"""
|
|
68429
|
-
request = request if request is not None else []
|
|
68430
|
-
|
|
68431
|
-
_headers: Dict[str, Any] = {
|
|
68432
|
-
'Accept': 'application/json',
|
|
68433
|
-
'Content-Type': 'application/json',
|
|
68434
|
-
'Authorization': auth_header,
|
|
68435
|
-
}
|
|
68436
|
-
|
|
68437
|
-
_params: Dict[str, Any] = {
|
|
68438
|
-
}
|
|
68439
|
-
|
|
68440
|
-
_path_params: Dict[str, Any] = {
|
|
68441
|
-
}
|
|
68442
|
-
|
|
68443
|
-
_json: Any = ConjureEncoder().default(request)
|
|
68444
|
-
|
|
68445
|
-
_path = '/storage/series/v1/batch-get-by-channel-and-tags'
|
|
68446
|
-
_path = _path.format(**_path_params)
|
|
68447
|
-
|
|
68448
|
-
_response: Response = self._request(
|
|
68449
|
-
'POST',
|
|
68450
|
-
self._uri + _path,
|
|
68451
|
-
params=_params,
|
|
68452
|
-
headers=_headers,
|
|
68453
|
-
json=_json)
|
|
68454
|
-
|
|
68455
|
-
_decoder = ConjureDecoder()
|
|
68456
|
-
return _decoder.decode(_response.json(), List[storage_series_api_NominalSeries], self._return_none_for_unknown_union_types)
|
|
68457
|
-
|
|
68458
|
-
def create_or_get(self, auth_header: str, request: "storage_series_api_CreateSeriesRequest") -> "storage_series_api_NominalSeries":
|
|
68459
|
-
"""
|
|
68460
|
-
Creates a new series if it doesn't already exist.
|
|
68461
|
-
|
|
68462
|
-
A series exists if there is already a series with the same channel name and tag values in the data source.
|
|
68463
|
-
Returns the series that was created or the existing series.
|
|
68464
|
-
"""
|
|
68465
|
-
|
|
68466
|
-
_headers: Dict[str, Any] = {
|
|
68467
|
-
'Accept': 'application/json',
|
|
68468
|
-
'Content-Type': 'application/json',
|
|
68469
|
-
'Authorization': auth_header,
|
|
68470
|
-
}
|
|
68471
|
-
|
|
68472
|
-
_params: Dict[str, Any] = {
|
|
68473
|
-
}
|
|
68474
|
-
|
|
68475
|
-
_path_params: Dict[str, Any] = {
|
|
68476
|
-
}
|
|
68477
|
-
|
|
68478
|
-
_json: Any = ConjureEncoder().default(request)
|
|
68479
|
-
|
|
68480
|
-
_path = '/storage/series/v1'
|
|
68481
|
-
_path = _path.format(**_path_params)
|
|
68482
|
-
|
|
68483
|
-
_response: Response = self._request(
|
|
68484
|
-
'POST',
|
|
68485
|
-
self._uri + _path,
|
|
68486
|
-
params=_params,
|
|
68487
|
-
headers=_headers,
|
|
68488
|
-
json=_json)
|
|
68489
|
-
|
|
68490
|
-
_decoder = ConjureDecoder()
|
|
68491
|
-
return _decoder.decode(_response.json(), storage_series_api_NominalSeries, self._return_none_for_unknown_union_types)
|
|
68492
|
-
|
|
68493
|
-
def batch_create_or_get(self, auth_header: str, request: List["storage_series_api_CreateSeriesRequest"] = None) -> List["storage_series_api_NominalSeries"]:
|
|
68494
|
-
request = request if request is not None else []
|
|
68495
|
-
|
|
68496
|
-
_headers: Dict[str, Any] = {
|
|
68497
|
-
'Accept': 'application/json',
|
|
68498
|
-
'Content-Type': 'application/json',
|
|
68499
|
-
'Authorization': auth_header,
|
|
68500
|
-
}
|
|
68501
|
-
|
|
68502
|
-
_params: Dict[str, Any] = {
|
|
68503
|
-
}
|
|
68504
|
-
|
|
68505
|
-
_path_params: Dict[str, Any] = {
|
|
68506
|
-
}
|
|
68507
|
-
|
|
68508
|
-
_json: Any = ConjureEncoder().default(request)
|
|
68509
|
-
|
|
68510
|
-
_path = '/storage/series/v1/batch-create'
|
|
68511
|
-
_path = _path.format(**_path_params)
|
|
68512
|
-
|
|
68513
|
-
_response: Response = self._request(
|
|
68514
|
-
'POST',
|
|
68515
|
-
self._uri + _path,
|
|
68516
|
-
params=_params,
|
|
68517
|
-
headers=_headers,
|
|
68518
|
-
json=_json)
|
|
68519
|
-
|
|
68520
|
-
_decoder = ConjureDecoder()
|
|
68521
|
-
return _decoder.decode(_response.json(), List[storage_series_api_NominalSeries], self._return_none_for_unknown_union_types)
|
|
68522
|
-
|
|
68523
|
-
def batch_create_or_get_v2(self, auth_header: str, request: List["storage_series_api_CreateSeriesRequest"] = None) -> "storage_series_api_BatchCreateOrGetResponse":
|
|
68524
|
-
"""
|
|
68525
|
-
Creates new series if they don't already exist.
|
|
68526
|
-
|
|
68527
|
-
A series exists if there is already a series with the same channel name and tag values in the data source.
|
|
68528
|
-
Returns series that were created and any existing series.
|
|
68529
|
-
"""
|
|
68530
|
-
request = request if request is not None else []
|
|
68531
|
-
|
|
68532
|
-
_headers: Dict[str, Any] = {
|
|
68533
|
-
'Accept': 'application/json',
|
|
68534
|
-
'Content-Type': 'application/json',
|
|
68535
|
-
'Authorization': auth_header,
|
|
68536
|
-
}
|
|
68537
|
-
|
|
68538
|
-
_params: Dict[str, Any] = {
|
|
68539
|
-
}
|
|
68540
|
-
|
|
68541
|
-
_path_params: Dict[str, Any] = {
|
|
68542
|
-
}
|
|
68543
|
-
|
|
68544
|
-
_json: Any = ConjureEncoder().default(request)
|
|
68545
|
-
|
|
68546
|
-
_path = '/storage/series/v1/batch-create-or-get'
|
|
68547
|
-
_path = _path.format(**_path_params)
|
|
68548
|
-
|
|
68549
|
-
_response: Response = self._request(
|
|
68550
|
-
'POST',
|
|
68551
|
-
self._uri + _path,
|
|
68552
|
-
params=_params,
|
|
68553
|
-
headers=_headers,
|
|
68554
|
-
json=_json)
|
|
68555
|
-
|
|
68556
|
-
_decoder = ConjureDecoder()
|
|
68557
|
-
return _decoder.decode(_response.json(), storage_series_api_BatchCreateOrGetResponse, self._return_none_for_unknown_union_types)
|
|
68558
|
-
|
|
68559
|
-
def update_last_touched_at(self, auth_header: str, request: "storage_series_api_BatchUpdateLastTouchedAtRequest") -> None:
|
|
68560
|
-
"""
|
|
68561
|
-
Updates the last touched at time for series. The last touched at time represents the last time a series
|
|
68562
|
-
had data written to it.
|
|
68563
|
-
"""
|
|
68564
|
-
|
|
68565
|
-
_headers: Dict[str, Any] = {
|
|
68566
|
-
'Accept': 'application/json',
|
|
68567
|
-
'Content-Type': 'application/json',
|
|
68568
|
-
'Authorization': auth_header,
|
|
68569
|
-
}
|
|
68570
|
-
|
|
68571
|
-
_params: Dict[str, Any] = {
|
|
68572
|
-
}
|
|
68573
|
-
|
|
68574
|
-
_path_params: Dict[str, Any] = {
|
|
68575
|
-
}
|
|
68576
|
-
|
|
68577
|
-
_json: Any = ConjureEncoder().default(request)
|
|
68578
|
-
|
|
68579
|
-
_path = '/storage/series/v1/update-last-touched'
|
|
68580
|
-
_path = _path.format(**_path_params)
|
|
68581
|
-
|
|
68582
|
-
_response: Response = self._request(
|
|
68583
|
-
'POST',
|
|
68584
|
-
self._uri + _path,
|
|
68585
|
-
params=_params,
|
|
68586
|
-
headers=_headers,
|
|
68587
|
-
json=_json)
|
|
68588
|
-
|
|
68589
|
-
return
|
|
68590
|
-
|
|
68591
|
-
def search(self, auth_header: str, request: "storage_series_api_SearchSeriesRequest") -> "storage_series_api_SearchSeriesResponse":
|
|
68592
|
-
"""
|
|
68593
|
-
Retrieves series that match the search query.
|
|
68594
|
-
"""
|
|
68595
|
-
|
|
68596
|
-
_headers: Dict[str, Any] = {
|
|
68597
|
-
'Accept': 'application/json',
|
|
68598
|
-
'Content-Type': 'application/json',
|
|
68599
|
-
'Authorization': auth_header,
|
|
68600
|
-
}
|
|
68601
|
-
|
|
68602
|
-
_params: Dict[str, Any] = {
|
|
68603
|
-
}
|
|
68604
|
-
|
|
68605
|
-
_path_params: Dict[str, Any] = {
|
|
68606
|
-
}
|
|
68607
|
-
|
|
68608
|
-
_json: Any = ConjureEncoder().default(request)
|
|
68609
|
-
|
|
68610
|
-
_path = '/storage/series/v1/search'
|
|
68611
|
-
_path = _path.format(**_path_params)
|
|
68612
|
-
|
|
68613
|
-
_response: Response = self._request(
|
|
68614
|
-
'POST',
|
|
68615
|
-
self._uri + _path,
|
|
68616
|
-
params=_params,
|
|
68617
|
-
headers=_headers,
|
|
68618
|
-
json=_json)
|
|
68619
|
-
|
|
68620
|
-
_decoder = ConjureDecoder()
|
|
68621
|
-
return _decoder.decode(_response.json(), storage_series_api_SearchSeriesResponse, self._return_none_for_unknown_union_types)
|
|
68622
|
-
|
|
68623
|
-
|
|
68624
|
-
storage_series_api_NominalSeriesService.__name__ = "NominalSeriesService"
|
|
68625
|
-
storage_series_api_NominalSeriesService.__qualname__ = "NominalSeriesService"
|
|
68626
|
-
storage_series_api_NominalSeriesService.__module__ = "nominal_api.storage_series_api"
|
|
68627
|
-
|
|
68628
|
-
|
|
68629
|
-
class storage_series_api_SearchSeriesRequest(ConjureBeanType):
|
|
68630
|
-
|
|
68631
|
-
@builtins.classmethod
|
|
68632
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
68633
|
-
return {
|
|
68634
|
-
'channel': ConjureFieldDefinition('channel', api_Channel),
|
|
68635
|
-
'data_source_rid': ConjureFieldDefinition('dataSourceRid', api_rids_NominalDataSourceRid),
|
|
68636
|
-
'tags': ConjureFieldDefinition('tags', Dict[api_TagName, api_TagValue])
|
|
68637
|
-
}
|
|
68638
|
-
|
|
68639
|
-
__slots__: List[str] = ['_channel', '_data_source_rid', '_tags']
|
|
68640
|
-
|
|
68641
|
-
def __init__(self, channel: str, data_source_rid: str, tags: Dict[str, str]) -> None:
|
|
68642
|
-
self._channel = channel
|
|
68643
|
-
self._data_source_rid = data_source_rid
|
|
68644
|
-
self._tags = tags
|
|
68645
|
-
|
|
68646
|
-
@builtins.property
|
|
68647
|
-
def channel(self) -> str:
|
|
68648
|
-
return self._channel
|
|
68649
|
-
|
|
68650
|
-
@builtins.property
|
|
68651
|
-
def data_source_rid(self) -> str:
|
|
68652
|
-
return self._data_source_rid
|
|
68653
|
-
|
|
68654
|
-
@builtins.property
|
|
68655
|
-
def tags(self) -> Dict[str, str]:
|
|
68656
|
-
"""
|
|
68657
|
-
Returns all series that contain this set of tags, including those
|
|
68658
|
-
whose tags are a superset.
|
|
68659
|
-
"""
|
|
68660
|
-
return self._tags
|
|
68661
|
-
|
|
68662
|
-
|
|
68663
|
-
storage_series_api_SearchSeriesRequest.__name__ = "SearchSeriesRequest"
|
|
68664
|
-
storage_series_api_SearchSeriesRequest.__qualname__ = "SearchSeriesRequest"
|
|
68665
|
-
storage_series_api_SearchSeriesRequest.__module__ = "nominal_api.storage_series_api"
|
|
68666
|
-
|
|
68667
|
-
|
|
68668
|
-
class storage_series_api_SearchSeriesResponse(ConjureBeanType):
|
|
68669
|
-
|
|
68670
|
-
@builtins.classmethod
|
|
68671
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
68672
|
-
return {
|
|
68673
|
-
'series': ConjureFieldDefinition('series', List[storage_series_api_NominalSeries])
|
|
68674
|
-
}
|
|
68675
|
-
|
|
68676
|
-
__slots__: List[str] = ['_series']
|
|
68677
|
-
|
|
68678
|
-
def __init__(self, series: List["storage_series_api_NominalSeries"]) -> None:
|
|
68679
|
-
self._series = series
|
|
68680
|
-
|
|
68681
|
-
@builtins.property
|
|
68682
|
-
def series(self) -> List["storage_series_api_NominalSeries"]:
|
|
68683
|
-
return self._series
|
|
68684
|
-
|
|
68685
|
-
|
|
68686
|
-
storage_series_api_SearchSeriesResponse.__name__ = "SearchSeriesResponse"
|
|
68687
|
-
storage_series_api_SearchSeriesResponse.__qualname__ = "SearchSeriesResponse"
|
|
68688
|
-
storage_series_api_SearchSeriesResponse.__module__ = "nominal_api.storage_series_api"
|
|
68689
|
-
|
|
68690
|
-
|
|
68691
|
-
class storage_series_api_UpdateLastTouchedAtRequest(ConjureBeanType):
|
|
68692
|
-
|
|
68693
|
-
@builtins.classmethod
|
|
68694
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
68695
|
-
return {
|
|
68696
|
-
'data_source_rid': ConjureFieldDefinition('dataSourceRid', api_rids_NominalDataSourceRid),
|
|
68697
|
-
'channel': ConjureFieldDefinition('channel', api_Channel),
|
|
68698
|
-
'tags': ConjureFieldDefinition('tags', Dict[api_TagName, api_TagValue])
|
|
68699
|
-
}
|
|
68700
|
-
|
|
68701
|
-
__slots__: List[str] = ['_data_source_rid', '_channel', '_tags']
|
|
68702
|
-
|
|
68703
|
-
def __init__(self, channel: str, data_source_rid: str, tags: Dict[str, str]) -> None:
|
|
68704
|
-
self._data_source_rid = data_source_rid
|
|
68705
|
-
self._channel = channel
|
|
68706
|
-
self._tags = tags
|
|
68707
|
-
|
|
68708
|
-
@builtins.property
|
|
68709
|
-
def data_source_rid(self) -> str:
|
|
68710
|
-
return self._data_source_rid
|
|
68711
|
-
|
|
68712
|
-
@builtins.property
|
|
68713
|
-
def channel(self) -> str:
|
|
68714
|
-
return self._channel
|
|
68715
|
-
|
|
68716
|
-
@builtins.property
|
|
68717
|
-
def tags(self) -> Dict[str, str]:
|
|
68718
|
-
return self._tags
|
|
68719
|
-
|
|
68720
|
-
|
|
68721
|
-
storage_series_api_UpdateLastTouchedAtRequest.__name__ = "UpdateLastTouchedAtRequest"
|
|
68722
|
-
storage_series_api_UpdateLastTouchedAtRequest.__qualname__ = "UpdateLastTouchedAtRequest"
|
|
68723
|
-
storage_series_api_UpdateLastTouchedAtRequest.__module__ = "nominal_api.storage_series_api"
|
|
68724
|
-
|
|
68725
|
-
|
|
68726
68202
|
class storage_writer_api_DirectNominalChannelWriterService(Service):
|
|
68727
68203
|
"""
|
|
68728
68204
|
Writes data points directly to Nominal's managed database offering.
|
|
@@ -71577,39 +71053,6 @@ if the channel + datasource + tag cannot be resolved into a logical series rid.
|
|
|
71577
71053
|
_decoder = ConjureDecoder()
|
|
71578
71054
|
return _decoder.decode(_response.json(), timeseries_logicalseries_api_BatchResolveSeriesResponse, self._return_none_for_unknown_union_types)
|
|
71579
71055
|
|
|
71580
|
-
def get_suggested_tags(self, auth_header: str, request: "timeseries_logicalseries_api_GetSuggestedTagsRequest") -> "timeseries_logicalseries_api_GetSuggestedTagsResponse":
|
|
71581
|
-
"""
|
|
71582
|
-
Returns suggested tags given a channel, datasource, and the existing tags by reading series archetypes,
|
|
71583
|
-
external datasources, and other tagged channels.
|
|
71584
|
-
"""
|
|
71585
|
-
|
|
71586
|
-
_headers: Dict[str, Any] = {
|
|
71587
|
-
'Accept': 'application/json',
|
|
71588
|
-
'Content-Type': 'application/json',
|
|
71589
|
-
'Authorization': auth_header,
|
|
71590
|
-
}
|
|
71591
|
-
|
|
71592
|
-
_params: Dict[str, Any] = {
|
|
71593
|
-
}
|
|
71594
|
-
|
|
71595
|
-
_path_params: Dict[str, Any] = {
|
|
71596
|
-
}
|
|
71597
|
-
|
|
71598
|
-
_json: Any = ConjureEncoder().default(request)
|
|
71599
|
-
|
|
71600
|
-
_path = '/timeseries/logical-series/v1/get-suggested-tags'
|
|
71601
|
-
_path = _path.format(**_path_params)
|
|
71602
|
-
|
|
71603
|
-
_response: Response = self._request(
|
|
71604
|
-
'POST',
|
|
71605
|
-
self._uri + _path,
|
|
71606
|
-
params=_params,
|
|
71607
|
-
headers=_headers,
|
|
71608
|
-
json=_json)
|
|
71609
|
-
|
|
71610
|
-
_decoder = ConjureDecoder()
|
|
71611
|
-
return _decoder.decode(_response.json(), timeseries_logicalseries_api_GetSuggestedTagsResponse, self._return_none_for_unknown_union_types)
|
|
71612
|
-
|
|
71613
71056
|
|
|
71614
71057
|
timeseries_logicalseries_LogicalSeriesService.__name__ = "LogicalSeriesService"
|
|
71615
71058
|
timeseries_logicalseries_LogicalSeriesService.__qualname__ = "LogicalSeriesService"
|
|
@@ -71822,26 +71265,6 @@ timeseries_logicalseries_api_BigQueryType.__qualname__ = "BigQueryType"
|
|
|
71822
71265
|
timeseries_logicalseries_api_BigQueryType.__module__ = "nominal_api.timeseries_logicalseries_api"
|
|
71823
71266
|
|
|
71824
71267
|
|
|
71825
|
-
class timeseries_logicalseries_api_Confidence(ConjureEnumType):
|
|
71826
|
-
|
|
71827
|
-
LOW = 'LOW'
|
|
71828
|
-
'''LOW'''
|
|
71829
|
-
MEDIUM = 'MEDIUM'
|
|
71830
|
-
'''MEDIUM'''
|
|
71831
|
-
HIGH = 'HIGH'
|
|
71832
|
-
'''HIGH'''
|
|
71833
|
-
UNKNOWN = 'UNKNOWN'
|
|
71834
|
-
'''UNKNOWN'''
|
|
71835
|
-
|
|
71836
|
-
def __reduce_ex__(self, proto):
|
|
71837
|
-
return self.__class__, (self.name,)
|
|
71838
|
-
|
|
71839
|
-
|
|
71840
|
-
timeseries_logicalseries_api_Confidence.__name__ = "Confidence"
|
|
71841
|
-
timeseries_logicalseries_api_Confidence.__qualname__ = "Confidence"
|
|
71842
|
-
timeseries_logicalseries_api_Confidence.__module__ = "nominal_api.timeseries_logicalseries_api"
|
|
71843
|
-
|
|
71844
|
-
|
|
71845
71268
|
class timeseries_logicalseries_api_Context(ConjureBeanType):
|
|
71846
71269
|
|
|
71847
71270
|
@builtins.classmethod
|
|
@@ -72067,70 +71490,6 @@ timeseries_logicalseries_api_CsvLocatorV2.__qualname__ = "CsvLocatorV2"
|
|
|
72067
71490
|
timeseries_logicalseries_api_CsvLocatorV2.__module__ = "nominal_api.timeseries_logicalseries_api"
|
|
72068
71491
|
|
|
72069
71492
|
|
|
72070
|
-
class timeseries_logicalseries_api_GetSuggestedTagsRequest(ConjureBeanType):
|
|
72071
|
-
|
|
72072
|
-
@builtins.classmethod
|
|
72073
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
72074
|
-
return {
|
|
72075
|
-
'current_tags': ConjureFieldDefinition('currentTags', Dict[api_TagName, api_TagValue]),
|
|
72076
|
-
'data_source_rid': ConjureFieldDefinition('dataSourceRid', api_rids_DataSourceRid),
|
|
72077
|
-
'channel': ConjureFieldDefinition('channel', api_Channel)
|
|
72078
|
-
}
|
|
72079
|
-
|
|
72080
|
-
__slots__: List[str] = ['_current_tags', '_data_source_rid', '_channel']
|
|
72081
|
-
|
|
72082
|
-
def __init__(self, channel: str, current_tags: Dict[str, str], data_source_rid: str) -> None:
|
|
72083
|
-
self._current_tags = current_tags
|
|
72084
|
-
self._data_source_rid = data_source_rid
|
|
72085
|
-
self._channel = channel
|
|
72086
|
-
|
|
72087
|
-
@builtins.property
|
|
72088
|
-
def current_tags(self) -> Dict[str, str]:
|
|
72089
|
-
return self._current_tags
|
|
72090
|
-
|
|
72091
|
-
@builtins.property
|
|
72092
|
-
def data_source_rid(self) -> str:
|
|
72093
|
-
return self._data_source_rid
|
|
72094
|
-
|
|
72095
|
-
@builtins.property
|
|
72096
|
-
def channel(self) -> str:
|
|
72097
|
-
return self._channel
|
|
72098
|
-
|
|
72099
|
-
|
|
72100
|
-
timeseries_logicalseries_api_GetSuggestedTagsRequest.__name__ = "GetSuggestedTagsRequest"
|
|
72101
|
-
timeseries_logicalseries_api_GetSuggestedTagsRequest.__qualname__ = "GetSuggestedTagsRequest"
|
|
72102
|
-
timeseries_logicalseries_api_GetSuggestedTagsRequest.__module__ = "nominal_api.timeseries_logicalseries_api"
|
|
72103
|
-
|
|
72104
|
-
|
|
72105
|
-
class timeseries_logicalseries_api_GetSuggestedTagsResponse(ConjureBeanType):
|
|
72106
|
-
|
|
72107
|
-
@builtins.classmethod
|
|
72108
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
72109
|
-
return {
|
|
72110
|
-
'tags': ConjureFieldDefinition('tags', Dict[api_TagName, List[api_TagValue]]),
|
|
72111
|
-
'confidence': ConjureFieldDefinition('confidence', timeseries_logicalseries_api_Confidence)
|
|
72112
|
-
}
|
|
72113
|
-
|
|
72114
|
-
__slots__: List[str] = ['_tags', '_confidence']
|
|
72115
|
-
|
|
72116
|
-
def __init__(self, confidence: "timeseries_logicalseries_api_Confidence", tags: Dict[str, List[str]]) -> None:
|
|
72117
|
-
self._tags = tags
|
|
72118
|
-
self._confidence = confidence
|
|
72119
|
-
|
|
72120
|
-
@builtins.property
|
|
72121
|
-
def tags(self) -> Dict[str, List[str]]:
|
|
72122
|
-
return self._tags
|
|
72123
|
-
|
|
72124
|
-
@builtins.property
|
|
72125
|
-
def confidence(self) -> "timeseries_logicalseries_api_Confidence":
|
|
72126
|
-
return self._confidence
|
|
72127
|
-
|
|
72128
|
-
|
|
72129
|
-
timeseries_logicalseries_api_GetSuggestedTagsResponse.__name__ = "GetSuggestedTagsResponse"
|
|
72130
|
-
timeseries_logicalseries_api_GetSuggestedTagsResponse.__qualname__ = "GetSuggestedTagsResponse"
|
|
72131
|
-
timeseries_logicalseries_api_GetSuggestedTagsResponse.__module__ = "nominal_api.timeseries_logicalseries_api"
|
|
72132
|
-
|
|
72133
|
-
|
|
72134
71493
|
class timeseries_logicalseries_api_Influx1Locator(ConjureBeanType):
|
|
72135
71494
|
|
|
72136
71495
|
@builtins.classmethod
|
|
@@ -72491,12 +71850,12 @@ class timeseries_logicalseries_api_LogicalSeries(ConjureBeanType):
|
|
|
72491
71850
|
'description': ConjureFieldDefinition('description', OptionalTypeWrapper[str]),
|
|
72492
71851
|
'unit': ConjureFieldDefinition('unit', OptionalTypeWrapper[api_Unit]),
|
|
72493
71852
|
'series_data_type': ConjureFieldDefinition('seriesDataType', OptionalTypeWrapper[api_SeriesDataType]),
|
|
72494
|
-
'granularity': ConjureFieldDefinition('granularity', api_Granularity)
|
|
71853
|
+
'granularity': ConjureFieldDefinition('granularity', OptionalTypeWrapper[api_Granularity])
|
|
72495
71854
|
}
|
|
72496
71855
|
|
|
72497
71856
|
__slots__: List[str] = ['_rid', '_data_source_rid', '_locator', '_time_locator', '_channel', '_description', '_unit', '_series_data_type', '_granularity']
|
|
72498
71857
|
|
|
72499
|
-
def __init__(self, channel: str, data_source_rid: str,
|
|
71858
|
+
def __init__(self, channel: str, data_source_rid: str, locator: "timeseries_logicalseries_api_Locator", rid: str, description: Optional[str] = None, granularity: Optional["api_Granularity"] = None, series_data_type: Optional["api_SeriesDataType"] = None, time_locator: Optional["timeseries_logicalseries_api_Locator"] = None, unit: Optional[str] = None) -> None:
|
|
72500
71859
|
self._rid = rid
|
|
72501
71860
|
self._data_source_rid = data_source_rid
|
|
72502
71861
|
self._locator = locator
|
|
@@ -72543,7 +71902,7 @@ class timeseries_logicalseries_api_LogicalSeries(ConjureBeanType):
|
|
|
72543
71902
|
return self._series_data_type
|
|
72544
71903
|
|
|
72545
71904
|
@builtins.property
|
|
72546
|
-
def granularity(self) -> "api_Granularity":
|
|
71905
|
+
def granularity(self) -> Optional["api_Granularity"]:
|
|
72547
71906
|
"""
|
|
72548
71907
|
Time granularity of the series. If omitted, defaults to nanoseconds.
|
|
72549
71908
|
"""
|
|
@@ -74176,8 +73535,6 @@ scout_rids_api_Version = int
|
|
|
74176
73535
|
|
|
74177
73536
|
scout_versioning_api_BranchName = str
|
|
74178
73537
|
|
|
74179
|
-
storage_series_api_NominalSeriesRid = str
|
|
74180
|
-
|
|
74181
73538
|
storage_writer_api_MeasurementName = str
|
|
74182
73539
|
|
|
74183
73540
|
storage_datasource_api_NominalDataSourceId = str
|
|
@@ -1,15 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
2
|
from .._impl import (
|
|
3
|
-
storage_series_api_BatchCreateOrGetResponse as BatchCreateOrGetResponse,
|
|
4
|
-
storage_series_api_BatchUpdateLastTouchedAtRequest as BatchUpdateLastTouchedAtRequest,
|
|
5
|
-
storage_series_api_CreateSeriesRequest as CreateSeriesRequest,
|
|
6
|
-
storage_series_api_GetSeriesByChannelAndTagsRequest as GetSeriesByChannelAndTagsRequest,
|
|
7
3
|
storage_series_api_NominalDataType as NominalDataType,
|
|
8
|
-
storage_series_api_NominalSeries as NominalSeries,
|
|
9
|
-
storage_series_api_NominalSeriesRid as NominalSeriesRid,
|
|
10
|
-
storage_series_api_NominalSeriesService as NominalSeriesService,
|
|
11
|
-
storage_series_api_SearchSeriesRequest as SearchSeriesRequest,
|
|
12
|
-
storage_series_api_SearchSeriesResponse as SearchSeriesResponse,
|
|
13
|
-
storage_series_api_UpdateLastTouchedAtRequest as UpdateLastTouchedAtRequest,
|
|
14
4
|
)
|
|
15
5
|
|
|
@@ -11,7 +11,6 @@ from .._impl import (
|
|
|
11
11
|
timeseries_logicalseries_api_BigQueryType as BigQueryType,
|
|
12
12
|
timeseries_logicalseries_api_BucketName as BucketName,
|
|
13
13
|
timeseries_logicalseries_api_ColumnName as ColumnName,
|
|
14
|
-
timeseries_logicalseries_api_Confidence as Confidence,
|
|
15
14
|
timeseries_logicalseries_api_Context as Context,
|
|
16
15
|
timeseries_logicalseries_api_ContextProperty as ContextProperty,
|
|
17
16
|
timeseries_logicalseries_api_ContextPropertyVisitor as ContextPropertyVisitor,
|
|
@@ -21,8 +20,6 @@ from .._impl import (
|
|
|
21
20
|
timeseries_logicalseries_api_DatabaseName as DatabaseName,
|
|
22
21
|
timeseries_logicalseries_api_DatasetName as DatasetName,
|
|
23
22
|
timeseries_logicalseries_api_FieldName as FieldName,
|
|
24
|
-
timeseries_logicalseries_api_GetSuggestedTagsRequest as GetSuggestedTagsRequest,
|
|
25
|
-
timeseries_logicalseries_api_GetSuggestedTagsResponse as GetSuggestedTagsResponse,
|
|
26
23
|
timeseries_logicalseries_api_Influx1Locator as Influx1Locator,
|
|
27
24
|
timeseries_logicalseries_api_Influx2Locator as Influx2Locator,
|
|
28
25
|
timeseries_logicalseries_api_InfluxType as InfluxType,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
|
2
|
-
nominal_api/_impl.py,sha256=
|
|
1
|
+
nominal_api/__init__.py,sha256=C0soJh9KEi70NKyyxWQy_OuilXIMihELp876BsJy9fg,1968
|
|
2
|
+
nominal_api/_impl.py,sha256=L8ovlxb84rUUduxev0CjsBjRmeCCbIIlWkCV_z5NDjs,2848499
|
|
3
3
|
nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
|
4
4
|
nominal_api/api/__init__.py,sha256=kJBEE_HLVpKYdLH12KyO-cSAVzwxYpBwaaDutCtT-LM,1236
|
|
5
5
|
nominal_api/api_ids/__init__.py,sha256=CAtt44XgNZEEUDv-BbEbYtuxQ8y1wqSZU-STjBYdZv8,80
|
|
@@ -60,7 +60,7 @@ nominal_api/secrets_api/__init__.py,sha256=V5BpnbNzjdMP8kgvR2N6SEVcVyXi6Vyl_lh_5
|
|
|
60
60
|
nominal_api/security_api_workspace/__init__.py,sha256=18MQr8sUGDfaXl50sMR7objE5rBJ9dZ1Sjwuyf997dA,156
|
|
61
61
|
nominal_api/storage_datasource_api/__init__.py,sha256=jh_OZE_b4nBNAvnyenBjw8aGZOnvIXR6qvUKd31fXOk,445
|
|
62
62
|
nominal_api/storage_deletion_api/__init__.py,sha256=2bIuAU0tcnT_8lqae0fcII4R45A_RzfV0y_E-vTkpSQ,267
|
|
63
|
-
nominal_api/storage_series_api/__init__.py,sha256=
|
|
63
|
+
nominal_api/storage_series_api/__init__.py,sha256=F2ctWx8yqb4-JtfHkLzCq74njNEpGwr69b9fWQp9UAQ,99
|
|
64
64
|
nominal_api/storage_writer_api/__init__.py,sha256=kr14YqN44wGfHJIy_7hti6KFq5caA1523i45P2GX8hM,909
|
|
65
65
|
nominal_api/themes_api/__init__.py,sha256=w-G93T5f6_2zSSUi-ffyUHxH8QA_2oI9jM7YBSMFpwY,924
|
|
66
66
|
nominal_api/timeseries_archetype/__init__.py,sha256=eKdgdZoOcZg_9pmec6J86NlgQdhxhi1282WUAFxghJ8,115
|
|
@@ -68,11 +68,11 @@ nominal_api/timeseries_archetype_api/__init__.py,sha256=IREibRlChT9ugCAkeMKm7RiA
|
|
|
68
68
|
nominal_api/timeseries_channelmetadata/__init__.py,sha256=DdcwwrIydiRIFiEvxAqcTtVmhT6Wy64kAO9e2j4z4sI,121
|
|
69
69
|
nominal_api/timeseries_channelmetadata_api/__init__.py,sha256=g8kC5TrYcF_jrqKec1qbYBoUrVaoTiCd8NsDO3mXGxk,794
|
|
70
70
|
nominal_api/timeseries_logicalseries/__init__.py,sha256=8EkKiSUli5RbCEf6CPmkiTUOyFcdiNj292eV0WgVbrs,115
|
|
71
|
-
nominal_api/timeseries_logicalseries_api/__init__.py,sha256=
|
|
71
|
+
nominal_api/timeseries_logicalseries_api/__init__.py,sha256=Q9iZHurmyDsJIFbUg-EblNjtlYb8GOrnRAwtlpStNJ0,3407
|
|
72
72
|
nominal_api/timeseries_seriescache/__init__.py,sha256=tFCkNuyrVMgtj-HIl1pOYPJHaL2VikI4C_x97bX_Lcs,109
|
|
73
73
|
nominal_api/timeseries_seriescache_api/__init__.py,sha256=U9EhlqdF9qzD1O9al0vcvcdgS_C5lq-lN3Kmr0K3g84,1191
|
|
74
74
|
nominal_api/upload_api/__init__.py,sha256=ZMudWMSqCrNozohbHaJKuxJnT9Edepe7nxxXMz_pT9k,87
|
|
75
|
-
nominal_api-0.
|
|
76
|
-
nominal_api-0.
|
|
77
|
-
nominal_api-0.
|
|
78
|
-
nominal_api-0.
|
|
75
|
+
nominal_api-0.592.0.dist-info/METADATA,sha256=setKECyhymwRUAYQapZ1KwloQIhPFZp5tc3ht23AKi0,199
|
|
76
|
+
nominal_api-0.592.0.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
|
77
|
+
nominal_api-0.592.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
78
|
+
nominal_api-0.592.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|