nominal-api 0.624.0__py3-none-any.whl → 0.626.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 +345 -204
- nominal_api/persistent_compute_api/__init__.py +9 -1
- nominal_api/scout_favorites_api/__init__.py +0 -1
- {nominal_api-0.624.0.dist-info → nominal_api-0.626.0.dist-info}/METADATA +1 -1
- {nominal_api-0.624.0.dist-info → nominal_api-0.626.0.dist-info}/RECORD +8 -8
- {nominal_api-0.624.0.dist-info → nominal_api-0.626.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.624.0.dist-info → nominal_api-0.626.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -4784,10 +4784,6 @@ class datasource_logset_LogSetService(Service):
|
|
|
4784
4784
|
"""
|
|
4785
4785
|
|
|
4786
4786
|
def create(self, auth_header: str, request: "datasource_logset_api_CreateLogSetRequest") -> "datasource_logset_api_LogSetMetadata":
|
|
4787
|
-
"""
|
|
4788
|
-
Creates a log set, to which logs can be attached using `attach-and-finalize`. The logs within a logset are
|
|
4789
|
-
not searchable until the logset is finalized.
|
|
4790
|
-
"""
|
|
4791
4787
|
|
|
4792
4788
|
_headers: Dict[str, Any] = {
|
|
4793
4789
|
'Accept': 'application/json',
|
|
@@ -4817,9 +4813,6 @@ not searchable until the logset is finalized.
|
|
|
4817
4813
|
return _decoder.decode(_response.json(), datasource_logset_api_LogSetMetadata, self._return_none_for_unknown_union_types)
|
|
4818
4814
|
|
|
4819
4815
|
def attach_logs_and_finalize(self, auth_header: str, log_set_rid: str, request: "datasource_logset_api_AttachLogsAndFinalizeRequest") -> "datasource_logset_api_LogSetMetadata":
|
|
4820
|
-
"""
|
|
4821
|
-
A logset is not considered readable until it has been finalized. Once finalized, the logset is immutable.
|
|
4822
|
-
"""
|
|
4823
4816
|
|
|
4824
4817
|
_headers: Dict[str, Any] = {
|
|
4825
4818
|
'Accept': 'application/json',
|
|
@@ -4850,9 +4843,6 @@ not searchable until the logset is finalized.
|
|
|
4850
4843
|
return _decoder.decode(_response.json(), datasource_logset_api_LogSetMetadata, self._return_none_for_unknown_union_types)
|
|
4851
4844
|
|
|
4852
4845
|
def get_log_set_metadata(self, auth_header: str, log_set_rid: str) -> "datasource_logset_api_LogSetMetadata":
|
|
4853
|
-
"""
|
|
4854
|
-
Returns metadata about a log set.
|
|
4855
|
-
"""
|
|
4856
4846
|
|
|
4857
4847
|
_headers: Dict[str, Any] = {
|
|
4858
4848
|
'Accept': 'application/json',
|
|
@@ -4882,9 +4872,6 @@ not searchable until the logset is finalized.
|
|
|
4882
4872
|
return _decoder.decode(_response.json(), datasource_logset_api_LogSetMetadata, self._return_none_for_unknown_union_types)
|
|
4883
4873
|
|
|
4884
4874
|
def batch_get_log_set_metadata(self, auth_header: str, request: List[str] = None) -> List["datasource_logset_api_LogSetMetadata"]:
|
|
4885
|
-
"""
|
|
4886
|
-
Returns metadata about a set of log sets.
|
|
4887
|
-
"""
|
|
4888
4875
|
request = request if request is not None else []
|
|
4889
4876
|
|
|
4890
4877
|
_headers: Dict[str, Any] = {
|
|
@@ -4915,9 +4902,6 @@ not searchable until the logset is finalized.
|
|
|
4915
4902
|
return _decoder.decode(_response.json(), List[datasource_logset_api_LogSetMetadata], self._return_none_for_unknown_union_types)
|
|
4916
4903
|
|
|
4917
4904
|
def search_log_sets(self, auth_header: str, request: "datasource_logset_api_SearchLogSetsRequest") -> "datasource_logset_api_SearchLogSetsResponse":
|
|
4918
|
-
"""
|
|
4919
|
-
Searches all visible log sets based on log set metadata.
|
|
4920
|
-
"""
|
|
4921
4905
|
|
|
4922
4906
|
_headers: Dict[str, Any] = {
|
|
4923
4907
|
'Accept': 'application/json',
|
|
@@ -4947,9 +4931,6 @@ not searchable until the logset is finalized.
|
|
|
4947
4931
|
return _decoder.decode(_response.json(), datasource_logset_api_SearchLogSetsResponse, self._return_none_for_unknown_union_types)
|
|
4948
4932
|
|
|
4949
4933
|
def search_logs(self, auth_header: str, log_set_rid: str, request: "datasource_logset_api_SearchLogsRequest") -> "datasource_logset_api_SearchLogsResponse":
|
|
4950
|
-
"""
|
|
4951
|
-
Searches logs within a single log set.
|
|
4952
|
-
"""
|
|
4953
4934
|
|
|
4954
4935
|
_headers: Dict[str, Any] = {
|
|
4955
4936
|
'Accept': 'application/json',
|
|
@@ -11815,24 +11796,18 @@ append result for [117s, 122s].
|
|
|
11815
11796
|
@builtins.classmethod
|
|
11816
11797
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
11817
11798
|
return {
|
|
11818
|
-
'subscription_id': ConjureFieldDefinition('subscriptionId', persistent_compute_api_SubscriptionId),
|
|
11819
11799
|
'start': ConjureFieldDefinition('start', api_Timestamp),
|
|
11820
11800
|
'end': ConjureFieldDefinition('end', api_Timestamp),
|
|
11821
11801
|
'result': ConjureFieldDefinition('result', persistent_compute_api_ComputeNodeAppendResponse)
|
|
11822
11802
|
}
|
|
11823
11803
|
|
|
11824
|
-
__slots__: List[str] = ['
|
|
11804
|
+
__slots__: List[str] = ['_start', '_end', '_result']
|
|
11825
11805
|
|
|
11826
|
-
def __init__(self, end: "api_Timestamp", result: "persistent_compute_api_ComputeNodeAppendResponse", start: "api_Timestamp"
|
|
11827
|
-
self._subscription_id = subscription_id
|
|
11806
|
+
def __init__(self, end: "api_Timestamp", result: "persistent_compute_api_ComputeNodeAppendResponse", start: "api_Timestamp") -> None:
|
|
11828
11807
|
self._start = start
|
|
11829
11808
|
self._end = end
|
|
11830
11809
|
self._result = result
|
|
11831
11810
|
|
|
11832
|
-
@builtins.property
|
|
11833
|
-
def subscription_id(self) -> str:
|
|
11834
|
-
return self._subscription_id
|
|
11835
|
-
|
|
11836
11811
|
@builtins.property
|
|
11837
11812
|
def start(self) -> "api_Timestamp":
|
|
11838
11813
|
"""
|
|
@@ -11923,9 +11898,9 @@ class persistent_compute_api_ClientMessage(ConjureUnionType):
|
|
|
11923
11898
|
"""
|
|
11924
11899
|
Subscribes to all of the given `StreamingComputeNodeSubscription`s. For identifying the subscriptions and
|
|
11925
11900
|
their results a `SubscriptionId` has to be passed, which should be a unique identifier.
|
|
11926
|
-
|
|
11927
|
-
|
|
11928
|
-
|
|
11901
|
+
A `ServerMessage::subscriptionCreation` will be sent back for each subscription which shows whether the
|
|
11902
|
+
subscription was successfully created. If it was, updated results for the subscription will be sent
|
|
11903
|
+
periodically via `ServerMessage::subscriptionUpdate`.
|
|
11929
11904
|
"""
|
|
11930
11905
|
return self._subscribe
|
|
11931
11906
|
|
|
@@ -11984,7 +11959,7 @@ persistent_compute_api_ClientMessageVisitor.__module__ = "nominal_api.persistent
|
|
|
11984
11959
|
|
|
11985
11960
|
|
|
11986
11961
|
class persistent_compute_api_ComputeNodeAppendResponse(ConjureUnionType):
|
|
11987
|
-
"""These cover the subset of the union type in `
|
|
11962
|
+
"""These cover the subset of the union type in `ComputeNodeResponse` for which we support append results.
|
|
11988
11963
|
Append results will have the same subtype as the previous full result for the same `SubscriptionId`.
|
|
11989
11964
|
If the subtype were to change (e.g., we start doing bucketing because data frequency increased) we will send
|
|
11990
11965
|
a new full result with that new type. The results will also have the same units as the previous `FullResult`.
|
|
@@ -12199,22 +12174,16 @@ class persistent_compute_api_FullResult(ConjureBeanType):
|
|
|
12199
12174
|
@builtins.classmethod
|
|
12200
12175
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
12201
12176
|
return {
|
|
12202
|
-
'
|
|
12203
|
-
'result': ConjureFieldDefinition('result', scout_compute_api_ComputeWithUnitsResponse)
|
|
12177
|
+
'result': ConjureFieldDefinition('result', scout_compute_api_ComputeNodeResponse)
|
|
12204
12178
|
}
|
|
12205
12179
|
|
|
12206
|
-
__slots__: List[str] = ['
|
|
12180
|
+
__slots__: List[str] = ['_result']
|
|
12207
12181
|
|
|
12208
|
-
def __init__(self, result: "
|
|
12209
|
-
self._subscription_id = subscription_id
|
|
12182
|
+
def __init__(self, result: "scout_compute_api_ComputeNodeResponse") -> None:
|
|
12210
12183
|
self._result = result
|
|
12211
12184
|
|
|
12212
12185
|
@builtins.property
|
|
12213
|
-
def
|
|
12214
|
-
return self._subscription_id
|
|
12215
|
-
|
|
12216
|
-
@builtins.property
|
|
12217
|
-
def result(self) -> "scout_compute_api_ComputeWithUnitsResponse":
|
|
12186
|
+
def result(self) -> "scout_compute_api_ComputeNodeResponse":
|
|
12218
12187
|
return self._result
|
|
12219
12188
|
|
|
12220
12189
|
|
|
@@ -12223,6 +12192,83 @@ persistent_compute_api_FullResult.__qualname__ = "FullResult"
|
|
|
12223
12192
|
persistent_compute_api_FullResult.__module__ = "nominal_api.persistent_compute_api"
|
|
12224
12193
|
|
|
12225
12194
|
|
|
12195
|
+
class persistent_compute_api_HealthMessage(ConjureUnionType):
|
|
12196
|
+
_ping: Optional["persistent_compute_api_Ping"] = None
|
|
12197
|
+
_pong: Optional["persistent_compute_api_Pong"] = None
|
|
12198
|
+
|
|
12199
|
+
@builtins.classmethod
|
|
12200
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
12201
|
+
return {
|
|
12202
|
+
'ping': ConjureFieldDefinition('ping', persistent_compute_api_Ping),
|
|
12203
|
+
'pong': ConjureFieldDefinition('pong', persistent_compute_api_Pong)
|
|
12204
|
+
}
|
|
12205
|
+
|
|
12206
|
+
def __init__(
|
|
12207
|
+
self,
|
|
12208
|
+
ping: Optional["persistent_compute_api_Ping"] = None,
|
|
12209
|
+
pong: Optional["persistent_compute_api_Pong"] = None,
|
|
12210
|
+
type_of_union: Optional[str] = None
|
|
12211
|
+
) -> None:
|
|
12212
|
+
if type_of_union is None:
|
|
12213
|
+
if (ping is not None) + (pong is not None) != 1:
|
|
12214
|
+
raise ValueError('a union must contain a single member')
|
|
12215
|
+
|
|
12216
|
+
if ping is not None:
|
|
12217
|
+
self._ping = ping
|
|
12218
|
+
self._type = 'ping'
|
|
12219
|
+
if pong is not None:
|
|
12220
|
+
self._pong = pong
|
|
12221
|
+
self._type = 'pong'
|
|
12222
|
+
|
|
12223
|
+
elif type_of_union == 'ping':
|
|
12224
|
+
if ping is None:
|
|
12225
|
+
raise ValueError('a union value must not be None')
|
|
12226
|
+
self._ping = ping
|
|
12227
|
+
self._type = 'ping'
|
|
12228
|
+
elif type_of_union == 'pong':
|
|
12229
|
+
if pong is None:
|
|
12230
|
+
raise ValueError('a union value must not be None')
|
|
12231
|
+
self._pong = pong
|
|
12232
|
+
self._type = 'pong'
|
|
12233
|
+
|
|
12234
|
+
@builtins.property
|
|
12235
|
+
def ping(self) -> Optional["persistent_compute_api_Ping"]:
|
|
12236
|
+
return self._ping
|
|
12237
|
+
|
|
12238
|
+
@builtins.property
|
|
12239
|
+
def pong(self) -> Optional["persistent_compute_api_Pong"]:
|
|
12240
|
+
return self._pong
|
|
12241
|
+
|
|
12242
|
+
def accept(self, visitor) -> Any:
|
|
12243
|
+
if not isinstance(visitor, persistent_compute_api_HealthMessageVisitor):
|
|
12244
|
+
raise ValueError('{} is not an instance of persistent_compute_api_HealthMessageVisitor'.format(visitor.__class__.__name__))
|
|
12245
|
+
if self._type == 'ping' and self.ping is not None:
|
|
12246
|
+
return visitor._ping(self.ping)
|
|
12247
|
+
if self._type == 'pong' and self.pong is not None:
|
|
12248
|
+
return visitor._pong(self.pong)
|
|
12249
|
+
|
|
12250
|
+
|
|
12251
|
+
persistent_compute_api_HealthMessage.__name__ = "HealthMessage"
|
|
12252
|
+
persistent_compute_api_HealthMessage.__qualname__ = "HealthMessage"
|
|
12253
|
+
persistent_compute_api_HealthMessage.__module__ = "nominal_api.persistent_compute_api"
|
|
12254
|
+
|
|
12255
|
+
|
|
12256
|
+
class persistent_compute_api_HealthMessageVisitor:
|
|
12257
|
+
|
|
12258
|
+
@abstractmethod
|
|
12259
|
+
def _ping(self, ping: "persistent_compute_api_Ping") -> Any:
|
|
12260
|
+
pass
|
|
12261
|
+
|
|
12262
|
+
@abstractmethod
|
|
12263
|
+
def _pong(self, pong: "persistent_compute_api_Pong") -> Any:
|
|
12264
|
+
pass
|
|
12265
|
+
|
|
12266
|
+
|
|
12267
|
+
persistent_compute_api_HealthMessageVisitor.__name__ = "HealthMessageVisitor"
|
|
12268
|
+
persistent_compute_api_HealthMessageVisitor.__qualname__ = "HealthMessageVisitor"
|
|
12269
|
+
persistent_compute_api_HealthMessageVisitor.__module__ = "nominal_api.persistent_compute_api"
|
|
12270
|
+
|
|
12271
|
+
|
|
12226
12272
|
class persistent_compute_api_Ping(ConjureBeanType):
|
|
12227
12273
|
"""
|
|
12228
12274
|
A ping can be sent by both client and server to keep the connection open and check that it is still working.
|
|
@@ -12282,93 +12328,76 @@ persistent_compute_api_Pong.__module__ = "nominal_api.persistent_compute_api"
|
|
|
12282
12328
|
|
|
12283
12329
|
|
|
12284
12330
|
class persistent_compute_api_ServerMessage(ConjureUnionType):
|
|
12285
|
-
_subscription_update: Optional["
|
|
12286
|
-
|
|
12287
|
-
|
|
12288
|
-
_pong: Optional["persistent_compute_api_Pong"] = None
|
|
12331
|
+
_subscription_update: Optional["persistent_compute_api_SubscriptionUpdateMessage"] = None
|
|
12332
|
+
_subscription_creation: Optional["persistent_compute_api_SubscriptionCreationMessage"] = None
|
|
12333
|
+
_health: Optional["persistent_compute_api_HealthMessage"] = None
|
|
12289
12334
|
|
|
12290
12335
|
@builtins.classmethod
|
|
12291
12336
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
12292
12337
|
return {
|
|
12293
|
-
'subscription_update': ConjureFieldDefinition('subscriptionUpdate',
|
|
12294
|
-
'
|
|
12295
|
-
'
|
|
12296
|
-
'pong': ConjureFieldDefinition('pong', persistent_compute_api_Pong)
|
|
12338
|
+
'subscription_update': ConjureFieldDefinition('subscriptionUpdate', persistent_compute_api_SubscriptionUpdateMessage),
|
|
12339
|
+
'subscription_creation': ConjureFieldDefinition('subscriptionCreation', persistent_compute_api_SubscriptionCreationMessage),
|
|
12340
|
+
'health': ConjureFieldDefinition('health', persistent_compute_api_HealthMessage)
|
|
12297
12341
|
}
|
|
12298
12342
|
|
|
12299
12343
|
def __init__(
|
|
12300
12344
|
self,
|
|
12301
|
-
subscription_update: Optional["
|
|
12302
|
-
|
|
12303
|
-
|
|
12304
|
-
pong: Optional["persistent_compute_api_Pong"] = None,
|
|
12345
|
+
subscription_update: Optional["persistent_compute_api_SubscriptionUpdateMessage"] = None,
|
|
12346
|
+
subscription_creation: Optional["persistent_compute_api_SubscriptionCreationMessage"] = None,
|
|
12347
|
+
health: Optional["persistent_compute_api_HealthMessage"] = None,
|
|
12305
12348
|
type_of_union: Optional[str] = None
|
|
12306
12349
|
) -> None:
|
|
12307
12350
|
if type_of_union is None:
|
|
12308
|
-
if (subscription_update is not None) + (
|
|
12351
|
+
if (subscription_update is not None) + (subscription_creation is not None) + (health is not None) != 1:
|
|
12309
12352
|
raise ValueError('a union must contain a single member')
|
|
12310
12353
|
|
|
12311
12354
|
if subscription_update is not None:
|
|
12312
12355
|
self._subscription_update = subscription_update
|
|
12313
12356
|
self._type = 'subscriptionUpdate'
|
|
12314
|
-
if
|
|
12315
|
-
self.
|
|
12316
|
-
self._type = '
|
|
12317
|
-
if
|
|
12318
|
-
self.
|
|
12319
|
-
self._type = '
|
|
12320
|
-
if pong is not None:
|
|
12321
|
-
self._pong = pong
|
|
12322
|
-
self._type = 'pong'
|
|
12357
|
+
if subscription_creation is not None:
|
|
12358
|
+
self._subscription_creation = subscription_creation
|
|
12359
|
+
self._type = 'subscriptionCreation'
|
|
12360
|
+
if health is not None:
|
|
12361
|
+
self._health = health
|
|
12362
|
+
self._type = 'health'
|
|
12323
12363
|
|
|
12324
12364
|
elif type_of_union == 'subscriptionUpdate':
|
|
12325
12365
|
if subscription_update is None:
|
|
12326
12366
|
raise ValueError('a union value must not be None')
|
|
12327
12367
|
self._subscription_update = subscription_update
|
|
12328
12368
|
self._type = 'subscriptionUpdate'
|
|
12329
|
-
elif type_of_union == '
|
|
12330
|
-
if
|
|
12369
|
+
elif type_of_union == 'subscriptionCreation':
|
|
12370
|
+
if subscription_creation is None:
|
|
12331
12371
|
raise ValueError('a union value must not be None')
|
|
12332
|
-
self.
|
|
12333
|
-
self._type = '
|
|
12334
|
-
elif type_of_union == '
|
|
12335
|
-
if
|
|
12372
|
+
self._subscription_creation = subscription_creation
|
|
12373
|
+
self._type = 'subscriptionCreation'
|
|
12374
|
+
elif type_of_union == 'health':
|
|
12375
|
+
if health is None:
|
|
12336
12376
|
raise ValueError('a union value must not be None')
|
|
12337
|
-
self.
|
|
12338
|
-
self._type = '
|
|
12339
|
-
elif type_of_union == 'pong':
|
|
12340
|
-
if pong is None:
|
|
12341
|
-
raise ValueError('a union value must not be None')
|
|
12342
|
-
self._pong = pong
|
|
12343
|
-
self._type = 'pong'
|
|
12377
|
+
self._health = health
|
|
12378
|
+
self._type = 'health'
|
|
12344
12379
|
|
|
12345
12380
|
@builtins.property
|
|
12346
|
-
def subscription_update(self) -> Optional["
|
|
12381
|
+
def subscription_update(self) -> Optional["persistent_compute_api_SubscriptionUpdateMessage"]:
|
|
12347
12382
|
return self._subscription_update
|
|
12348
12383
|
|
|
12349
12384
|
@builtins.property
|
|
12350
|
-
def
|
|
12351
|
-
return self.
|
|
12385
|
+
def subscription_creation(self) -> Optional["persistent_compute_api_SubscriptionCreationMessage"]:
|
|
12386
|
+
return self._subscription_creation
|
|
12352
12387
|
|
|
12353
12388
|
@builtins.property
|
|
12354
|
-
def
|
|
12355
|
-
return self.
|
|
12356
|
-
|
|
12357
|
-
@builtins.property
|
|
12358
|
-
def pong(self) -> Optional["persistent_compute_api_Pong"]:
|
|
12359
|
-
return self._pong
|
|
12389
|
+
def health(self) -> Optional["persistent_compute_api_HealthMessage"]:
|
|
12390
|
+
return self._health
|
|
12360
12391
|
|
|
12361
12392
|
def accept(self, visitor) -> Any:
|
|
12362
12393
|
if not isinstance(visitor, persistent_compute_api_ServerMessageVisitor):
|
|
12363
12394
|
raise ValueError('{} is not an instance of persistent_compute_api_ServerMessageVisitor'.format(visitor.__class__.__name__))
|
|
12364
12395
|
if self._type == 'subscriptionUpdate' and self.subscription_update is not None:
|
|
12365
12396
|
return visitor._subscription_update(self.subscription_update)
|
|
12366
|
-
if self._type == '
|
|
12367
|
-
return visitor.
|
|
12368
|
-
if self._type == '
|
|
12369
|
-
return visitor.
|
|
12370
|
-
if self._type == 'pong' and self.pong is not None:
|
|
12371
|
-
return visitor._pong(self.pong)
|
|
12397
|
+
if self._type == 'subscriptionCreation' and self.subscription_creation is not None:
|
|
12398
|
+
return visitor._subscription_creation(self.subscription_creation)
|
|
12399
|
+
if self._type == 'health' and self.health is not None:
|
|
12400
|
+
return visitor._health(self.health)
|
|
12372
12401
|
|
|
12373
12402
|
|
|
12374
12403
|
persistent_compute_api_ServerMessage.__name__ = "ServerMessage"
|
|
@@ -12379,19 +12408,15 @@ persistent_compute_api_ServerMessage.__module__ = "nominal_api.persistent_comput
|
|
|
12379
12408
|
class persistent_compute_api_ServerMessageVisitor:
|
|
12380
12409
|
|
|
12381
12410
|
@abstractmethod
|
|
12382
|
-
def _subscription_update(self, subscription_update: "
|
|
12383
|
-
pass
|
|
12384
|
-
|
|
12385
|
-
@abstractmethod
|
|
12386
|
-
def _subscription_error(self, subscription_error: "persistent_compute_api_SubscriptionError") -> Any:
|
|
12411
|
+
def _subscription_update(self, subscription_update: "persistent_compute_api_SubscriptionUpdateMessage") -> Any:
|
|
12387
12412
|
pass
|
|
12388
12413
|
|
|
12389
12414
|
@abstractmethod
|
|
12390
|
-
def
|
|
12415
|
+
def _subscription_creation(self, subscription_creation: "persistent_compute_api_SubscriptionCreationMessage") -> Any:
|
|
12391
12416
|
pass
|
|
12392
12417
|
|
|
12393
12418
|
@abstractmethod
|
|
12394
|
-
def
|
|
12419
|
+
def _health(self, health: "persistent_compute_api_HealthMessage") -> Any:
|
|
12395
12420
|
pass
|
|
12396
12421
|
|
|
12397
12422
|
|
|
@@ -12468,30 +12493,100 @@ persistent_compute_api_StreamingComputeNodeSubscription.__qualname__ = "Streamin
|
|
|
12468
12493
|
persistent_compute_api_StreamingComputeNodeSubscription.__module__ = "nominal_api.persistent_compute_api"
|
|
12469
12494
|
|
|
12470
12495
|
|
|
12471
|
-
class
|
|
12496
|
+
class persistent_compute_api_SubscriptionCreation(ConjureUnionType):
|
|
12497
|
+
_success: Optional["persistent_compute_api_SubscriptionCreationSuccess"] = None
|
|
12498
|
+
_error: Optional["persistent_compute_api_SubscriptionCreationError"] = None
|
|
12499
|
+
|
|
12500
|
+
@builtins.classmethod
|
|
12501
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
12502
|
+
return {
|
|
12503
|
+
'success': ConjureFieldDefinition('success', persistent_compute_api_SubscriptionCreationSuccess),
|
|
12504
|
+
'error': ConjureFieldDefinition('error', persistent_compute_api_SubscriptionCreationError)
|
|
12505
|
+
}
|
|
12506
|
+
|
|
12507
|
+
def __init__(
|
|
12508
|
+
self,
|
|
12509
|
+
success: Optional["persistent_compute_api_SubscriptionCreationSuccess"] = None,
|
|
12510
|
+
error: Optional["persistent_compute_api_SubscriptionCreationError"] = None,
|
|
12511
|
+
type_of_union: Optional[str] = None
|
|
12512
|
+
) -> None:
|
|
12513
|
+
if type_of_union is None:
|
|
12514
|
+
if (success is not None) + (error is not None) != 1:
|
|
12515
|
+
raise ValueError('a union must contain a single member')
|
|
12516
|
+
|
|
12517
|
+
if success is not None:
|
|
12518
|
+
self._success = success
|
|
12519
|
+
self._type = 'success'
|
|
12520
|
+
if error is not None:
|
|
12521
|
+
self._error = error
|
|
12522
|
+
self._type = 'error'
|
|
12523
|
+
|
|
12524
|
+
elif type_of_union == 'success':
|
|
12525
|
+
if success is None:
|
|
12526
|
+
raise ValueError('a union value must not be None')
|
|
12527
|
+
self._success = success
|
|
12528
|
+
self._type = 'success'
|
|
12529
|
+
elif type_of_union == 'error':
|
|
12530
|
+
if error is None:
|
|
12531
|
+
raise ValueError('a union value must not be None')
|
|
12532
|
+
self._error = error
|
|
12533
|
+
self._type = 'error'
|
|
12534
|
+
|
|
12535
|
+
@builtins.property
|
|
12536
|
+
def success(self) -> Optional["persistent_compute_api_SubscriptionCreationSuccess"]:
|
|
12537
|
+
return self._success
|
|
12538
|
+
|
|
12539
|
+
@builtins.property
|
|
12540
|
+
def error(self) -> Optional["persistent_compute_api_SubscriptionCreationError"]:
|
|
12541
|
+
return self._error
|
|
12542
|
+
|
|
12543
|
+
def accept(self, visitor) -> Any:
|
|
12544
|
+
if not isinstance(visitor, persistent_compute_api_SubscriptionCreationVisitor):
|
|
12545
|
+
raise ValueError('{} is not an instance of persistent_compute_api_SubscriptionCreationVisitor'.format(visitor.__class__.__name__))
|
|
12546
|
+
if self._type == 'success' and self.success is not None:
|
|
12547
|
+
return visitor._success(self.success)
|
|
12548
|
+
if self._type == 'error' and self.error is not None:
|
|
12549
|
+
return visitor._error(self.error)
|
|
12550
|
+
|
|
12551
|
+
|
|
12552
|
+
persistent_compute_api_SubscriptionCreation.__name__ = "SubscriptionCreation"
|
|
12553
|
+
persistent_compute_api_SubscriptionCreation.__qualname__ = "SubscriptionCreation"
|
|
12554
|
+
persistent_compute_api_SubscriptionCreation.__module__ = "nominal_api.persistent_compute_api"
|
|
12555
|
+
|
|
12556
|
+
|
|
12557
|
+
class persistent_compute_api_SubscriptionCreationVisitor:
|
|
12558
|
+
|
|
12559
|
+
@abstractmethod
|
|
12560
|
+
def _success(self, success: "persistent_compute_api_SubscriptionCreationSuccess") -> Any:
|
|
12561
|
+
pass
|
|
12562
|
+
|
|
12563
|
+
@abstractmethod
|
|
12564
|
+
def _error(self, error: "persistent_compute_api_SubscriptionCreationError") -> Any:
|
|
12565
|
+
pass
|
|
12566
|
+
|
|
12567
|
+
|
|
12568
|
+
persistent_compute_api_SubscriptionCreationVisitor.__name__ = "SubscriptionCreationVisitor"
|
|
12569
|
+
persistent_compute_api_SubscriptionCreationVisitor.__qualname__ = "SubscriptionCreationVisitor"
|
|
12570
|
+
persistent_compute_api_SubscriptionCreationVisitor.__module__ = "nominal_api.persistent_compute_api"
|
|
12571
|
+
|
|
12572
|
+
|
|
12573
|
+
class persistent_compute_api_SubscriptionCreationError(ConjureBeanType):
|
|
12472
12574
|
"""
|
|
12473
|
-
This will be sent if there is an error while creating
|
|
12474
|
-
|
|
12475
|
-
if warranted.
|
|
12575
|
+
This will be sent if there is an error while creating a subscription. This means that the subscription was
|
|
12576
|
+
never created and the client will have to re-try creating it if warranted.
|
|
12476
12577
|
"""
|
|
12477
12578
|
|
|
12478
12579
|
@builtins.classmethod
|
|
12479
12580
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
12480
12581
|
return {
|
|
12481
|
-
'subscription_id': ConjureFieldDefinition('subscriptionId', persistent_compute_api_SubscriptionId),
|
|
12482
12582
|
'serializable_error': ConjureFieldDefinition('serializableError', api_SerializableError)
|
|
12483
12583
|
}
|
|
12484
12584
|
|
|
12485
|
-
__slots__: List[str] = ['
|
|
12585
|
+
__slots__: List[str] = ['_serializable_error']
|
|
12486
12586
|
|
|
12487
|
-
def __init__(self, serializable_error: "api_SerializableError"
|
|
12488
|
-
self._subscription_id = subscription_id
|
|
12587
|
+
def __init__(self, serializable_error: "api_SerializableError") -> None:
|
|
12489
12588
|
self._serializable_error = serializable_error
|
|
12490
12589
|
|
|
12491
|
-
@builtins.property
|
|
12492
|
-
def subscription_id(self) -> str:
|
|
12493
|
-
return self._subscription_id
|
|
12494
|
-
|
|
12495
12590
|
@builtins.property
|
|
12496
12591
|
def serializable_error(self) -> "api_SerializableError":
|
|
12497
12592
|
"""
|
|
@@ -12500,9 +12595,64 @@ if warranted.
|
|
|
12500
12595
|
return self._serializable_error
|
|
12501
12596
|
|
|
12502
12597
|
|
|
12503
|
-
|
|
12504
|
-
|
|
12505
|
-
|
|
12598
|
+
persistent_compute_api_SubscriptionCreationError.__name__ = "SubscriptionCreationError"
|
|
12599
|
+
persistent_compute_api_SubscriptionCreationError.__qualname__ = "SubscriptionCreationError"
|
|
12600
|
+
persistent_compute_api_SubscriptionCreationError.__module__ = "nominal_api.persistent_compute_api"
|
|
12601
|
+
|
|
12602
|
+
|
|
12603
|
+
class persistent_compute_api_SubscriptionCreationMessage(ConjureBeanType):
|
|
12604
|
+
|
|
12605
|
+
@builtins.classmethod
|
|
12606
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
12607
|
+
return {
|
|
12608
|
+
'subscription_id': ConjureFieldDefinition('subscriptionId', persistent_compute_api_SubscriptionId),
|
|
12609
|
+
'creation': ConjureFieldDefinition('creation', persistent_compute_api_SubscriptionCreation)
|
|
12610
|
+
}
|
|
12611
|
+
|
|
12612
|
+
__slots__: List[str] = ['_subscription_id', '_creation']
|
|
12613
|
+
|
|
12614
|
+
def __init__(self, creation: "persistent_compute_api_SubscriptionCreation", subscription_id: str) -> None:
|
|
12615
|
+
self._subscription_id = subscription_id
|
|
12616
|
+
self._creation = creation
|
|
12617
|
+
|
|
12618
|
+
@builtins.property
|
|
12619
|
+
def subscription_id(self) -> str:
|
|
12620
|
+
return self._subscription_id
|
|
12621
|
+
|
|
12622
|
+
@builtins.property
|
|
12623
|
+
def creation(self) -> "persistent_compute_api_SubscriptionCreation":
|
|
12624
|
+
return self._creation
|
|
12625
|
+
|
|
12626
|
+
|
|
12627
|
+
persistent_compute_api_SubscriptionCreationMessage.__name__ = "SubscriptionCreationMessage"
|
|
12628
|
+
persistent_compute_api_SubscriptionCreationMessage.__qualname__ = "SubscriptionCreationMessage"
|
|
12629
|
+
persistent_compute_api_SubscriptionCreationMessage.__module__ = "nominal_api.persistent_compute_api"
|
|
12630
|
+
|
|
12631
|
+
|
|
12632
|
+
class persistent_compute_api_SubscriptionCreationSuccess(ConjureBeanType):
|
|
12633
|
+
"""
|
|
12634
|
+
Will be returned once a subscriptions has been successfully created.
|
|
12635
|
+
"""
|
|
12636
|
+
|
|
12637
|
+
@builtins.classmethod
|
|
12638
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
12639
|
+
return {
|
|
12640
|
+
'unit_result': ConjureFieldDefinition('unitResult', scout_compute_api_ComputeUnitResult)
|
|
12641
|
+
}
|
|
12642
|
+
|
|
12643
|
+
__slots__: List[str] = ['_unit_result']
|
|
12644
|
+
|
|
12645
|
+
def __init__(self, unit_result: "scout_compute_api_ComputeUnitResult") -> None:
|
|
12646
|
+
self._unit_result = unit_result
|
|
12647
|
+
|
|
12648
|
+
@builtins.property
|
|
12649
|
+
def unit_result(self) -> "scout_compute_api_ComputeUnitResult":
|
|
12650
|
+
return self._unit_result
|
|
12651
|
+
|
|
12652
|
+
|
|
12653
|
+
persistent_compute_api_SubscriptionCreationSuccess.__name__ = "SubscriptionCreationSuccess"
|
|
12654
|
+
persistent_compute_api_SubscriptionCreationSuccess.__qualname__ = "SubscriptionCreationSuccess"
|
|
12655
|
+
persistent_compute_api_SubscriptionCreationSuccess.__module__ = "nominal_api.persistent_compute_api"
|
|
12506
12656
|
|
|
12507
12657
|
|
|
12508
12658
|
class persistent_compute_api_SubscriptionOptions(ConjureBeanType):
|
|
@@ -12549,22 +12699,25 @@ persistent_compute_api_SubscriptionOptions.__module__ = "nominal_api.persistent_
|
|
|
12549
12699
|
class persistent_compute_api_SubscriptionUpdate(ConjureUnionType):
|
|
12550
12700
|
_full: Optional["persistent_compute_api_FullResult"] = None
|
|
12551
12701
|
_append: Optional["persistent_compute_api_AppendResult"] = None
|
|
12702
|
+
_error: Optional["persistent_compute_api_SubscriptionUpdateError"] = None
|
|
12552
12703
|
|
|
12553
12704
|
@builtins.classmethod
|
|
12554
12705
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
12555
12706
|
return {
|
|
12556
12707
|
'full': ConjureFieldDefinition('full', persistent_compute_api_FullResult),
|
|
12557
|
-
'append': ConjureFieldDefinition('append', persistent_compute_api_AppendResult)
|
|
12708
|
+
'append': ConjureFieldDefinition('append', persistent_compute_api_AppendResult),
|
|
12709
|
+
'error': ConjureFieldDefinition('error', persistent_compute_api_SubscriptionUpdateError)
|
|
12558
12710
|
}
|
|
12559
12711
|
|
|
12560
12712
|
def __init__(
|
|
12561
12713
|
self,
|
|
12562
12714
|
full: Optional["persistent_compute_api_FullResult"] = None,
|
|
12563
12715
|
append: Optional["persistent_compute_api_AppendResult"] = None,
|
|
12716
|
+
error: Optional["persistent_compute_api_SubscriptionUpdateError"] = None,
|
|
12564
12717
|
type_of_union: Optional[str] = None
|
|
12565
12718
|
) -> None:
|
|
12566
12719
|
if type_of_union is None:
|
|
12567
|
-
if (full is not None) + (append is not None) != 1:
|
|
12720
|
+
if (full is not None) + (append is not None) + (error is not None) != 1:
|
|
12568
12721
|
raise ValueError('a union must contain a single member')
|
|
12569
12722
|
|
|
12570
12723
|
if full is not None:
|
|
@@ -12573,6 +12726,9 @@ class persistent_compute_api_SubscriptionUpdate(ConjureUnionType):
|
|
|
12573
12726
|
if append is not None:
|
|
12574
12727
|
self._append = append
|
|
12575
12728
|
self._type = 'append'
|
|
12729
|
+
if error is not None:
|
|
12730
|
+
self._error = error
|
|
12731
|
+
self._type = 'error'
|
|
12576
12732
|
|
|
12577
12733
|
elif type_of_union == 'full':
|
|
12578
12734
|
if full is None:
|
|
@@ -12584,6 +12740,11 @@ class persistent_compute_api_SubscriptionUpdate(ConjureUnionType):
|
|
|
12584
12740
|
raise ValueError('a union value must not be None')
|
|
12585
12741
|
self._append = append
|
|
12586
12742
|
self._type = 'append'
|
|
12743
|
+
elif type_of_union == 'error':
|
|
12744
|
+
if error is None:
|
|
12745
|
+
raise ValueError('a union value must not be None')
|
|
12746
|
+
self._error = error
|
|
12747
|
+
self._type = 'error'
|
|
12587
12748
|
|
|
12588
12749
|
@builtins.property
|
|
12589
12750
|
def full(self) -> Optional["persistent_compute_api_FullResult"]:
|
|
@@ -12593,6 +12754,10 @@ class persistent_compute_api_SubscriptionUpdate(ConjureUnionType):
|
|
|
12593
12754
|
def append(self) -> Optional["persistent_compute_api_AppendResult"]:
|
|
12594
12755
|
return self._append
|
|
12595
12756
|
|
|
12757
|
+
@builtins.property
|
|
12758
|
+
def error(self) -> Optional["persistent_compute_api_SubscriptionUpdateError"]:
|
|
12759
|
+
return self._error
|
|
12760
|
+
|
|
12596
12761
|
def accept(self, visitor) -> Any:
|
|
12597
12762
|
if not isinstance(visitor, persistent_compute_api_SubscriptionUpdateVisitor):
|
|
12598
12763
|
raise ValueError('{} is not an instance of persistent_compute_api_SubscriptionUpdateVisitor'.format(visitor.__class__.__name__))
|
|
@@ -12600,6 +12765,8 @@ class persistent_compute_api_SubscriptionUpdate(ConjureUnionType):
|
|
|
12600
12765
|
return visitor._full(self.full)
|
|
12601
12766
|
if self._type == 'append' and self.append is not None:
|
|
12602
12767
|
return visitor._append(self.append)
|
|
12768
|
+
if self._type == 'error' and self.error is not None:
|
|
12769
|
+
return visitor._error(self.error)
|
|
12603
12770
|
|
|
12604
12771
|
|
|
12605
12772
|
persistent_compute_api_SubscriptionUpdate.__name__ = "SubscriptionUpdate"
|
|
@@ -12617,12 +12784,75 @@ class persistent_compute_api_SubscriptionUpdateVisitor:
|
|
|
12617
12784
|
def _append(self, append: "persistent_compute_api_AppendResult") -> Any:
|
|
12618
12785
|
pass
|
|
12619
12786
|
|
|
12787
|
+
@abstractmethod
|
|
12788
|
+
def _error(self, error: "persistent_compute_api_SubscriptionUpdateError") -> Any:
|
|
12789
|
+
pass
|
|
12790
|
+
|
|
12620
12791
|
|
|
12621
12792
|
persistent_compute_api_SubscriptionUpdateVisitor.__name__ = "SubscriptionUpdateVisitor"
|
|
12622
12793
|
persistent_compute_api_SubscriptionUpdateVisitor.__qualname__ = "SubscriptionUpdateVisitor"
|
|
12623
12794
|
persistent_compute_api_SubscriptionUpdateVisitor.__module__ = "nominal_api.persistent_compute_api"
|
|
12624
12795
|
|
|
12625
12796
|
|
|
12797
|
+
class persistent_compute_api_SubscriptionUpdateError(ConjureBeanType):
|
|
12798
|
+
"""
|
|
12799
|
+
This will be sent if there is an error while updating a subscription. Note: This won't automatically cancel
|
|
12800
|
+
the subscription. The client will have to call `ClientMessage::unsubscribe` to do that if warranted.
|
|
12801
|
+
"""
|
|
12802
|
+
|
|
12803
|
+
@builtins.classmethod
|
|
12804
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
12805
|
+
return {
|
|
12806
|
+
'serializable_error': ConjureFieldDefinition('serializableError', api_SerializableError)
|
|
12807
|
+
}
|
|
12808
|
+
|
|
12809
|
+
__slots__: List[str] = ['_serializable_error']
|
|
12810
|
+
|
|
12811
|
+
def __init__(self, serializable_error: "api_SerializableError") -> None:
|
|
12812
|
+
self._serializable_error = serializable_error
|
|
12813
|
+
|
|
12814
|
+
@builtins.property
|
|
12815
|
+
def serializable_error(self) -> "api_SerializableError":
|
|
12816
|
+
"""
|
|
12817
|
+
A serialized version of the error. Should match the errors defined below.
|
|
12818
|
+
"""
|
|
12819
|
+
return self._serializable_error
|
|
12820
|
+
|
|
12821
|
+
|
|
12822
|
+
persistent_compute_api_SubscriptionUpdateError.__name__ = "SubscriptionUpdateError"
|
|
12823
|
+
persistent_compute_api_SubscriptionUpdateError.__qualname__ = "SubscriptionUpdateError"
|
|
12824
|
+
persistent_compute_api_SubscriptionUpdateError.__module__ = "nominal_api.persistent_compute_api"
|
|
12825
|
+
|
|
12826
|
+
|
|
12827
|
+
class persistent_compute_api_SubscriptionUpdateMessage(ConjureBeanType):
|
|
12828
|
+
|
|
12829
|
+
@builtins.classmethod
|
|
12830
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
12831
|
+
return {
|
|
12832
|
+
'subscription_id': ConjureFieldDefinition('subscriptionId', persistent_compute_api_SubscriptionId),
|
|
12833
|
+
'update': ConjureFieldDefinition('update', persistent_compute_api_SubscriptionUpdate)
|
|
12834
|
+
}
|
|
12835
|
+
|
|
12836
|
+
__slots__: List[str] = ['_subscription_id', '_update']
|
|
12837
|
+
|
|
12838
|
+
def __init__(self, subscription_id: str, update: "persistent_compute_api_SubscriptionUpdate") -> None:
|
|
12839
|
+
self._subscription_id = subscription_id
|
|
12840
|
+
self._update = update
|
|
12841
|
+
|
|
12842
|
+
@builtins.property
|
|
12843
|
+
def subscription_id(self) -> str:
|
|
12844
|
+
return self._subscription_id
|
|
12845
|
+
|
|
12846
|
+
@builtins.property
|
|
12847
|
+
def update(self) -> "persistent_compute_api_SubscriptionUpdate":
|
|
12848
|
+
return self._update
|
|
12849
|
+
|
|
12850
|
+
|
|
12851
|
+
persistent_compute_api_SubscriptionUpdateMessage.__name__ = "SubscriptionUpdateMessage"
|
|
12852
|
+
persistent_compute_api_SubscriptionUpdateMessage.__qualname__ = "SubscriptionUpdateMessage"
|
|
12853
|
+
persistent_compute_api_SubscriptionUpdateMessage.__module__ = "nominal_api.persistent_compute_api"
|
|
12854
|
+
|
|
12855
|
+
|
|
12626
12856
|
class scout_InternalVersioningService(Service):
|
|
12627
12857
|
"""
|
|
12628
12858
|
These endpoints are not intended to be used directly by clients, since
|
|
@@ -59312,101 +59542,12 @@ quick access within search pages throughout the application for themselves.
|
|
|
59312
59542
|
_decoder = ConjureDecoder()
|
|
59313
59543
|
return _decoder.decode(_response.json(), scout_favorites_api_FavoritesListResponse, self._return_none_for_unknown_union_types)
|
|
59314
59544
|
|
|
59315
|
-
def update_favorites(self, auth_header: str, request: "scout_favorites_api_SetFavoritesListRequest") -> "scout_favorites_api_FavoritesListResponse":
|
|
59316
|
-
"""
|
|
59317
|
-
Update the user's favorited resources.
|
|
59318
|
-
This will use the org's default workspace if the user has access to it.
|
|
59319
|
-
"""
|
|
59320
|
-
|
|
59321
|
-
_headers: Dict[str, Any] = {
|
|
59322
|
-
'Accept': 'application/json',
|
|
59323
|
-
'Content-Type': 'application/json',
|
|
59324
|
-
'Authorization': auth_header,
|
|
59325
|
-
}
|
|
59326
|
-
|
|
59327
|
-
_params: Dict[str, Any] = {
|
|
59328
|
-
}
|
|
59329
|
-
|
|
59330
|
-
_path_params: Dict[str, Any] = {
|
|
59331
|
-
}
|
|
59332
|
-
|
|
59333
|
-
_json: Any = ConjureEncoder().default(request)
|
|
59334
|
-
|
|
59335
|
-
_path = '/scout/v2/favorites'
|
|
59336
|
-
_path = _path.format(**_path_params)
|
|
59337
|
-
|
|
59338
|
-
_response: Response = self._request(
|
|
59339
|
-
'PUT',
|
|
59340
|
-
self._uri + _path,
|
|
59341
|
-
params=_params,
|
|
59342
|
-
headers=_headers,
|
|
59343
|
-
json=_json)
|
|
59344
|
-
|
|
59345
|
-
_decoder = ConjureDecoder()
|
|
59346
|
-
return _decoder.decode(_response.json(), scout_favorites_api_FavoritesListResponse, self._return_none_for_unknown_union_types)
|
|
59347
|
-
|
|
59348
|
-
def list_favorites(self, auth_header: str, request: "scout_favorites_api_DeprecatedListFavoritesRequest") -> "scout_favorites_api_FavoritesListResponse":
|
|
59349
|
-
"""
|
|
59350
|
-
Retrieves all the user's favorites with filtering options on the resource types to include.
|
|
59351
|
-
This will use the org's default workspace if the user has access to it.
|
|
59352
|
-
"""
|
|
59353
|
-
|
|
59354
|
-
_headers: Dict[str, Any] = {
|
|
59355
|
-
'Accept': 'application/json',
|
|
59356
|
-
'Content-Type': 'application/json',
|
|
59357
|
-
'Authorization': auth_header,
|
|
59358
|
-
}
|
|
59359
|
-
|
|
59360
|
-
_params: Dict[str, Any] = {
|
|
59361
|
-
}
|
|
59362
|
-
|
|
59363
|
-
_path_params: Dict[str, Any] = {
|
|
59364
|
-
}
|
|
59365
|
-
|
|
59366
|
-
_json: Any = ConjureEncoder().default(request)
|
|
59367
|
-
|
|
59368
|
-
_path = '/scout/v2/favorites/list'
|
|
59369
|
-
_path = _path.format(**_path_params)
|
|
59370
|
-
|
|
59371
|
-
_response: Response = self._request(
|
|
59372
|
-
'POST',
|
|
59373
|
-
self._uri + _path,
|
|
59374
|
-
params=_params,
|
|
59375
|
-
headers=_headers,
|
|
59376
|
-
json=_json)
|
|
59377
|
-
|
|
59378
|
-
_decoder = ConjureDecoder()
|
|
59379
|
-
return _decoder.decode(_response.json(), scout_favorites_api_FavoritesListResponse, self._return_none_for_unknown_union_types)
|
|
59380
|
-
|
|
59381
59545
|
|
|
59382
59546
|
scout_favorites_FavoritesService.__name__ = "FavoritesService"
|
|
59383
59547
|
scout_favorites_FavoritesService.__qualname__ = "FavoritesService"
|
|
59384
59548
|
scout_favorites_FavoritesService.__module__ = "nominal_api.scout_favorites"
|
|
59385
59549
|
|
|
59386
59550
|
|
|
59387
|
-
class scout_favorites_api_DeprecatedListFavoritesRequest(ConjureBeanType):
|
|
59388
|
-
|
|
59389
|
-
@builtins.classmethod
|
|
59390
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
59391
|
-
return {
|
|
59392
|
-
'resource_types': ConjureFieldDefinition('resourceTypes', OptionalTypeWrapper[List[scout_favorites_api_ResourceType]])
|
|
59393
|
-
}
|
|
59394
|
-
|
|
59395
|
-
__slots__: List[str] = ['_resource_types']
|
|
59396
|
-
|
|
59397
|
-
def __init__(self, resource_types: Optional[List["scout_favorites_api_ResourceType"]] = None) -> None:
|
|
59398
|
-
self._resource_types = resource_types
|
|
59399
|
-
|
|
59400
|
-
@builtins.property
|
|
59401
|
-
def resource_types(self) -> Optional[List["scout_favorites_api_ResourceType"]]:
|
|
59402
|
-
return self._resource_types
|
|
59403
|
-
|
|
59404
|
-
|
|
59405
|
-
scout_favorites_api_DeprecatedListFavoritesRequest.__name__ = "DeprecatedListFavoritesRequest"
|
|
59406
|
-
scout_favorites_api_DeprecatedListFavoritesRequest.__qualname__ = "DeprecatedListFavoritesRequest"
|
|
59407
|
-
scout_favorites_api_DeprecatedListFavoritesRequest.__module__ = "nominal_api.scout_favorites_api"
|
|
59408
|
-
|
|
59409
|
-
|
|
59410
59551
|
class scout_favorites_api_FavoriteResource(ConjureUnionType):
|
|
59411
59552
|
_asset: Optional[str] = None
|
|
59412
59553
|
_run: Optional[str] = None
|
|
@@ -6,6 +6,8 @@ from .._impl import (
|
|
|
6
6
|
persistent_compute_api_ComputeNodeAppendResponse as ComputeNodeAppendResponse,
|
|
7
7
|
persistent_compute_api_ComputeNodeAppendResponseVisitor as ComputeNodeAppendResponseVisitor,
|
|
8
8
|
persistent_compute_api_FullResult as FullResult,
|
|
9
|
+
persistent_compute_api_HealthMessage as HealthMessage,
|
|
10
|
+
persistent_compute_api_HealthMessageVisitor as HealthMessageVisitor,
|
|
9
11
|
persistent_compute_api_Milliseconds as Milliseconds,
|
|
10
12
|
persistent_compute_api_Ping as Ping,
|
|
11
13
|
persistent_compute_api_Pong as Pong,
|
|
@@ -13,10 +15,16 @@ from .._impl import (
|
|
|
13
15
|
persistent_compute_api_ServerMessageVisitor as ServerMessageVisitor,
|
|
14
16
|
persistent_compute_api_StreamingComputeNodeRequest as StreamingComputeNodeRequest,
|
|
15
17
|
persistent_compute_api_StreamingComputeNodeSubscription as StreamingComputeNodeSubscription,
|
|
16
|
-
|
|
18
|
+
persistent_compute_api_SubscriptionCreation as SubscriptionCreation,
|
|
19
|
+
persistent_compute_api_SubscriptionCreationError as SubscriptionCreationError,
|
|
20
|
+
persistent_compute_api_SubscriptionCreationMessage as SubscriptionCreationMessage,
|
|
21
|
+
persistent_compute_api_SubscriptionCreationSuccess as SubscriptionCreationSuccess,
|
|
22
|
+
persistent_compute_api_SubscriptionCreationVisitor as SubscriptionCreationVisitor,
|
|
17
23
|
persistent_compute_api_SubscriptionId as SubscriptionId,
|
|
18
24
|
persistent_compute_api_SubscriptionOptions as SubscriptionOptions,
|
|
19
25
|
persistent_compute_api_SubscriptionUpdate as SubscriptionUpdate,
|
|
26
|
+
persistent_compute_api_SubscriptionUpdateError as SubscriptionUpdateError,
|
|
27
|
+
persistent_compute_api_SubscriptionUpdateMessage as SubscriptionUpdateMessage,
|
|
20
28
|
persistent_compute_api_SubscriptionUpdateVisitor as SubscriptionUpdateVisitor,
|
|
21
29
|
)
|
|
22
30
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
2
|
from .._impl import (
|
|
3
|
-
scout_favorites_api_DeprecatedListFavoritesRequest as DeprecatedListFavoritesRequest,
|
|
4
3
|
scout_favorites_api_FavoriteResource as FavoriteResource,
|
|
5
4
|
scout_favorites_api_FavoriteResourceVisitor as FavoriteResourceVisitor,
|
|
6
5
|
scout_favorites_api_FavoritesListResponse as FavoritesListResponse,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
|
2
|
-
nominal_api/_impl.py,sha256=
|
|
1
|
+
nominal_api/__init__.py,sha256=8KWpySz9fIRteC7OZ5gEr-gWOkO3PmX32mN2o8MFDIk,1995
|
|
2
|
+
nominal_api/_impl.py,sha256=vuxio56uJvqN3u2u-gLY-kzccUfa0aTD779rQWEjfQo,3002878
|
|
3
3
|
nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
|
4
4
|
nominal_api/api/__init__.py,sha256=1oJPOuAMfV2uClPUW8Ie1nj2Y6j81TDpedcc3yUFTe0,1294
|
|
5
5
|
nominal_api/api_ids/__init__.py,sha256=CAtt44XgNZEEUDv-BbEbYtuxQ8y1wqSZU-STjBYdZv8,80
|
|
@@ -17,7 +17,7 @@ nominal_api/datasource_pagination_api/__init__.py,sha256=3GO8TAUavOe6dUEitOhje74
|
|
|
17
17
|
nominal_api/event/__init__.py,sha256=YUhvDFXtyAn08WNd7Xwnybz3PtflvtTcIOaunRS5-1I,836
|
|
18
18
|
nominal_api/ingest_api/__init__.py,sha256=jpxmJO0dzcCEIv5iM7xvziQEs1x92XLTm-LmbHxtii4,6953
|
|
19
19
|
nominal_api/ingest_workflow_api/__init__.py,sha256=1oJO78YCmXFkfN5LY7x0gOJwtijrOcXD8Sl0GJCOyrk,1352
|
|
20
|
-
nominal_api/persistent_compute_api/__init__.py,sha256=
|
|
20
|
+
nominal_api/persistent_compute_api/__init__.py,sha256=9X56Ar01aw8PUC7rVVZ2A9Vny0QIXaJPWJtjjCY4IWg,1912
|
|
21
21
|
nominal_api/scout/__init__.py,sha256=ip3XK_9jJKAoFiCifUVMTpDMiUE4mWIdGzMDu7LASus,324
|
|
22
22
|
nominal_api/scout_api/__init__.py,sha256=biO4DEygbGcLwM6Dg2VuvMra3A5EW6NBjukbIemXoG8,178
|
|
23
23
|
nominal_api/scout_asset_api/__init__.py,sha256=Ph-KlW-ki0JRejYQZDvbZ2jRzNAttVBux27lcEj7--Q,1910
|
|
@@ -41,7 +41,7 @@ nominal_api/scout_datasource_connection/__init__.py,sha256=he1CCSqMBwRWnzovWCeYP
|
|
|
41
41
|
nominal_api/scout_datasource_connection_api/__init__.py,sha256=uZDDTsvvsr_7LfkHwEIfPnV9MsHoxmoTL95e37bZ_nE,4984
|
|
42
42
|
nominal_api/scout_datasource_connection_api_influx/__init__.py,sha256=PeUZYnCR7Iq92bRuygtWly-HaZ-G1MfqShxJmamiTWA,99
|
|
43
43
|
nominal_api/scout_favorites/__init__.py,sha256=qiOvaWVVl3O7tXZIq_NrCWFcMx-Q-H5sA_NpIc4TFVU,98
|
|
44
|
-
nominal_api/scout_favorites_api/__init__.py,sha256=
|
|
44
|
+
nominal_api/scout_favorites_api/__init__.py,sha256=VOsTMNCQTHYxdYRzRlvEyli5b7Lo2BEnSNcWT2HA9uY,380
|
|
45
45
|
nominal_api/scout_integrations_api/__init__.py,sha256=8iXeDLEbgMYEZz0dEZsvUj7v9JkuaaTdxkzS-ld8E0U,1432
|
|
46
46
|
nominal_api/scout_internal_search_api/__init__.py,sha256=CF2YYZXkl95YkEgCbhqXSdAQ4ayPDDOJiCcyoFKOaA8,520
|
|
47
47
|
nominal_api/scout_jobs_api/__init__.py,sha256=_2ETRUShk1pestGAKzHwc69S-ililQRD4Y9JLD5qqZ4,146
|
|
@@ -73,7 +73,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=Q9iZHurmyDsJIFbUg-Eb
|
|
|
73
73
|
nominal_api/timeseries_seriescache/__init__.py,sha256=tFCkNuyrVMgtj-HIl1pOYPJHaL2VikI4C_x97bX_Lcs,109
|
|
74
74
|
nominal_api/timeseries_seriescache_api/__init__.py,sha256=U9EhlqdF9qzD1O9al0vcvcdgS_C5lq-lN3Kmr0K3g84,1191
|
|
75
75
|
nominal_api/upload_api/__init__.py,sha256=ZMudWMSqCrNozohbHaJKuxJnT9Edepe7nxxXMz_pT9k,87
|
|
76
|
-
nominal_api-0.
|
|
77
|
-
nominal_api-0.
|
|
78
|
-
nominal_api-0.
|
|
79
|
-
nominal_api-0.
|
|
76
|
+
nominal_api-0.626.0.dist-info/METADATA,sha256=5qhQ_XPUHp3GKTmUqNlruJAXXYewJxaWc7vUS800Jq8,199
|
|
77
|
+
nominal_api-0.626.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
78
|
+
nominal_api-0.626.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
79
|
+
nominal_api-0.626.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|