nominal-api 0.508.0__tar.gz → 0.510.0__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. {nominal_api-0.508.0 → nominal_api-0.510.0}/PKG-INFO +1 -1
  2. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/__init__.py +1 -1
  3. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/_impl.py +188 -80
  4. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_compute_api/__init__.py +5 -2
  5. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api.egg-info/PKG-INFO +1 -1
  6. {nominal_api-0.508.0 → nominal_api-0.510.0}/setup.py +1 -1
  7. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/api/__init__.py +0 -0
  8. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/api_rids/__init__.py +0 -0
  9. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/attachments_api/__init__.py +0 -0
  10. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/authentication/__init__.py +0 -0
  11. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/authentication_api/__init__.py +0 -0
  12. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/authorization/__init__.py +0 -0
  13. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/comments_api/__init__.py +0 -0
  14. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/datasource/__init__.py +0 -0
  15. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/datasource_api/__init__.py +0 -0
  16. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/datasource_logset/__init__.py +0 -0
  17. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/datasource_logset_api/__init__.py +0 -0
  18. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/datasource_pagination_api/__init__.py +0 -0
  19. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/event/__init__.py +0 -0
  20. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/ingest_api/__init__.py +0 -0
  21. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/py.typed +0 -0
  22. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout/__init__.py +0 -0
  23. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_api/__init__.py +0 -0
  24. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_asset_api/__init__.py +0 -0
  25. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_assets/__init__.py +0 -0
  26. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_backend/__init__.py +0 -0
  27. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_catalog/__init__.py +0 -0
  28. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_channelvariables_api/__init__.py +0 -0
  29. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_chart_api/__init__.py +0 -0
  30. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_chartdefinition_api/__init__.py +0 -0
  31. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_checklistexecution_api/__init__.py +0 -0
  32. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_checks_api/__init__.py +0 -0
  33. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_comparisonnotebook_api/__init__.py +0 -0
  34. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_comparisonrun_api/__init__.py +0 -0
  35. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_compute_api_deprecated/__init__.py +0 -0
  36. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_compute_representation_api/__init__.py +0 -0
  37. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_compute_resolved_api/__init__.py +0 -0
  38. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_dataexport_api/__init__.py +0 -0
  39. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_datareview_api/__init__.py +0 -0
  40. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_datasource/__init__.py +0 -0
  41. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_datasource_connection/__init__.py +0 -0
  42. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_datasource_connection_api/__init__.py +0 -0
  43. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_datasource_connection_api_influx/__init__.py +0 -0
  44. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_integrations_api/__init__.py +0 -0
  45. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_internal_search_api/__init__.py +0 -0
  46. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_jobs_api/__init__.py +0 -0
  47. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_layout_api/__init__.py +0 -0
  48. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_metadata/__init__.py +0 -0
  49. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_notebook_api/__init__.py +0 -0
  50. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_plotting/__init__.py +0 -0
  51. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_rids_api/__init__.py +0 -0
  52. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_run_api/__init__.py +0 -0
  53. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_template_api/__init__.py +0 -0
  54. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_units_api/__init__.py +0 -0
  55. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_versioning_api/__init__.py +0 -0
  56. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_video/__init__.py +0 -0
  57. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_video_api/__init__.py +0 -0
  58. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/scout_workbookcommon_api/__init__.py +0 -0
  59. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/secrets_api/__init__.py +0 -0
  60. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/storage_datasource_api/__init__.py +0 -0
  61. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/storage_series_api/__init__.py +0 -0
  62. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/storage_writer_api/__init__.py +0 -0
  63. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/timeseries_archetype/__init__.py +0 -0
  64. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/timeseries_archetype_api/__init__.py +0 -0
  65. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/timeseries_logicalseries/__init__.py +0 -0
  66. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/timeseries_logicalseries_api/__init__.py +0 -0
  67. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/timeseries_seriescache/__init__.py +0 -0
  68. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/timeseries_seriescache_api/__init__.py +0 -0
  69. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api/upload_api/__init__.py +0 -0
  70. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api.egg-info/SOURCES.txt +0 -0
  71. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api.egg-info/dependency_links.txt +0 -0
  72. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api.egg-info/requires.txt +0 -0
  73. {nominal_api-0.508.0 → nominal_api-0.510.0}/nominal_api.egg-info/top_level.txt +0 -0
  74. {nominal_api-0.508.0 → nominal_api-0.510.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: nominal-api
3
- Version: 0.508.0
3
+ Version: 0.510.0
4
4
  Requires-Python: >=3.8
5
5
  Requires-Dist: requests
6
6
  Requires-Dist: conjure-python-client<3,>=2.8.0
@@ -67,5 +67,5 @@ __all__ = [
67
67
 
68
68
  __conjure_generator_version__ = "4.9.0"
69
69
 
70
- __version__ = "0.508.0"
70
+ __version__ = "0.510.0"
71
71
 
@@ -26293,6 +26293,52 @@ scout_compute_api_BatchComputeUnitsRequest.__qualname__ = "BatchComputeUnitsRequ
26293
26293
  scout_compute_api_BatchComputeUnitsRequest.__module__ = "nominal_api.scout_compute_api"
26294
26294
 
26295
26295
 
26296
+ class scout_compute_api_BatchComputeWithUnitsRequest(ConjureBeanType):
26297
+
26298
+ @builtins.classmethod
26299
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
26300
+ return {
26301
+ 'requests': ConjureFieldDefinition('requests', List[scout_compute_api_ComputeNodeRequest])
26302
+ }
26303
+
26304
+ __slots__: List[str] = ['_requests']
26305
+
26306
+ def __init__(self, requests: List["scout_compute_api_ComputeNodeRequest"]) -> None:
26307
+ self._requests = requests
26308
+
26309
+ @builtins.property
26310
+ def requests(self) -> List["scout_compute_api_ComputeNodeRequest"]:
26311
+ return self._requests
26312
+
26313
+
26314
+ scout_compute_api_BatchComputeWithUnitsRequest.__name__ = "BatchComputeWithUnitsRequest"
26315
+ scout_compute_api_BatchComputeWithUnitsRequest.__qualname__ = "BatchComputeWithUnitsRequest"
26316
+ scout_compute_api_BatchComputeWithUnitsRequest.__module__ = "nominal_api.scout_compute_api"
26317
+
26318
+
26319
+ class scout_compute_api_BatchComputeWithUnitsResponse(ConjureBeanType):
26320
+
26321
+ @builtins.classmethod
26322
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
26323
+ return {
26324
+ 'results': ConjureFieldDefinition('results', List[scout_compute_api_ComputeWithUnitsResult])
26325
+ }
26326
+
26327
+ __slots__: List[str] = ['_results']
26328
+
26329
+ def __init__(self, results: List["scout_compute_api_ComputeWithUnitsResult"]) -> None:
26330
+ self._results = results
26331
+
26332
+ @builtins.property
26333
+ def results(self) -> List["scout_compute_api_ComputeWithUnitsResult"]:
26334
+ return self._results
26335
+
26336
+
26337
+ scout_compute_api_BatchComputeWithUnitsResponse.__name__ = "BatchComputeWithUnitsResponse"
26338
+ scout_compute_api_BatchComputeWithUnitsResponse.__qualname__ = "BatchComputeWithUnitsResponse"
26339
+ scout_compute_api_BatchComputeWithUnitsResponse.__module__ = "nominal_api.scout_compute_api"
26340
+
26341
+
26296
26342
  class scout_compute_api_BinaryArithmeticOperation(ConjureEnumType):
26297
26343
 
26298
26344
  ATAN2 = 'ATAN2'
@@ -27772,6 +27818,83 @@ scout_compute_api_ComputeNodeResponseVisitor.__qualname__ = "ComputeNodeResponse
27772
27818
  scout_compute_api_ComputeNodeResponseVisitor.__module__ = "nominal_api.scout_compute_api"
27773
27819
 
27774
27820
 
27821
+ class scout_compute_api_ComputeNodeResult(ConjureUnionType):
27822
+ _success: Optional["scout_compute_api_ComputeNodeResponse"] = None
27823
+ _error: Optional["scout_compute_api_ErrorResult"] = None
27824
+
27825
+ @builtins.classmethod
27826
+ def _options(cls) -> Dict[str, ConjureFieldDefinition]:
27827
+ return {
27828
+ 'success': ConjureFieldDefinition('success', scout_compute_api_ComputeNodeResponse),
27829
+ 'error': ConjureFieldDefinition('error', scout_compute_api_ErrorResult)
27830
+ }
27831
+
27832
+ def __init__(
27833
+ self,
27834
+ success: Optional["scout_compute_api_ComputeNodeResponse"] = None,
27835
+ error: Optional["scout_compute_api_ErrorResult"] = None,
27836
+ type_of_union: Optional[str] = None
27837
+ ) -> None:
27838
+ if type_of_union is None:
27839
+ if (success is not None) + (error is not None) != 1:
27840
+ raise ValueError('a union must contain a single member')
27841
+
27842
+ if success is not None:
27843
+ self._success = success
27844
+ self._type = 'success'
27845
+ if error is not None:
27846
+ self._error = error
27847
+ self._type = 'error'
27848
+
27849
+ elif type_of_union == 'success':
27850
+ if success is None:
27851
+ raise ValueError('a union value must not be None')
27852
+ self._success = success
27853
+ self._type = 'success'
27854
+ elif type_of_union == 'error':
27855
+ if error is None:
27856
+ raise ValueError('a union value must not be None')
27857
+ self._error = error
27858
+ self._type = 'error'
27859
+
27860
+ @builtins.property
27861
+ def success(self) -> Optional["scout_compute_api_ComputeNodeResponse"]:
27862
+ return self._success
27863
+
27864
+ @builtins.property
27865
+ def error(self) -> Optional["scout_compute_api_ErrorResult"]:
27866
+ return self._error
27867
+
27868
+ def accept(self, visitor) -> Any:
27869
+ if not isinstance(visitor, scout_compute_api_ComputeNodeResultVisitor):
27870
+ raise ValueError('{} is not an instance of scout_compute_api_ComputeNodeResultVisitor'.format(visitor.__class__.__name__))
27871
+ if self._type == 'success' and self.success is not None:
27872
+ return visitor._success(self.success)
27873
+ if self._type == 'error' and self.error is not None:
27874
+ return visitor._error(self.error)
27875
+
27876
+
27877
+ scout_compute_api_ComputeNodeResult.__name__ = "ComputeNodeResult"
27878
+ scout_compute_api_ComputeNodeResult.__qualname__ = "ComputeNodeResult"
27879
+ scout_compute_api_ComputeNodeResult.__module__ = "nominal_api.scout_compute_api"
27880
+
27881
+
27882
+ class scout_compute_api_ComputeNodeResultVisitor:
27883
+
27884
+ @abstractmethod
27885
+ def _success(self, success: "scout_compute_api_ComputeNodeResponse") -> Any:
27886
+ pass
27887
+
27888
+ @abstractmethod
27889
+ def _error(self, error: "scout_compute_api_ErrorResult") -> Any:
27890
+ pass
27891
+
27892
+
27893
+ scout_compute_api_ComputeNodeResultVisitor.__name__ = "ComputeNodeResultVisitor"
27894
+ scout_compute_api_ComputeNodeResultVisitor.__qualname__ = "ComputeNodeResultVisitor"
27895
+ scout_compute_api_ComputeNodeResultVisitor.__module__ = "nominal_api.scout_compute_api"
27896
+
27897
+
27775
27898
  class scout_compute_api_ComputeNodeWithContext(ConjureBeanType):
27776
27899
 
27777
27900
  @builtins.classmethod
@@ -27908,6 +28031,39 @@ are returned.
27908
28031
  _decoder = ConjureDecoder()
27909
28032
  return _decoder.decode(_response.json(), scout_compute_api_ComputeUnitResult, self._return_none_for_unknown_union_types)
27910
28033
 
28034
+ def batch_compute_with_units(self, auth_header: str, request: "scout_compute_api_BatchComputeWithUnitsRequest") -> "scout_compute_api_BatchComputeWithUnitsResponse":
28035
+ """
28036
+ Computes the output of compute graphs specified by BatchComputeNodeRequest. Results are returned in the same
28037
+ order as the request.
28038
+ """
28039
+
28040
+ _headers: Dict[str, Any] = {
28041
+ 'Accept': 'application/json',
28042
+ 'Content-Type': 'application/json',
28043
+ 'Authorization': auth_header,
28044
+ }
28045
+
28046
+ _params: Dict[str, Any] = {
28047
+ }
28048
+
28049
+ _path_params: Dict[str, Any] = {
28050
+ }
28051
+
28052
+ _json: Any = ConjureEncoder().default(request)
28053
+
28054
+ _path = '/compute/v2/compute/batch'
28055
+ _path = _path.format(**_path_params)
28056
+
28057
+ _response: Response = self._request(
28058
+ 'POST',
28059
+ self._uri + _path,
28060
+ params=_params,
28061
+ headers=_headers,
28062
+ json=_json)
28063
+
28064
+ _decoder = ConjureDecoder()
28065
+ return _decoder.decode(_response.json(), scout_compute_api_BatchComputeWithUnitsResponse, self._return_none_for_unknown_union_types)
28066
+
27911
28067
  def batch_compute_units(self, auth_header: str, request: "scout_compute_api_BatchComputeUnitsRequest") -> "scout_compute_api_BatchComputeUnitResult":
27912
28068
  """
27913
28069
  Same as computeUnits, however this endpoint functions on a batch of requests for wire efficiency purposes. An
@@ -28119,6 +28275,35 @@ scout_compute_api_ComputeWithUnitsResponse.__qualname__ = "ComputeWithUnitsRespo
28119
28275
  scout_compute_api_ComputeWithUnitsResponse.__module__ = "nominal_api.scout_compute_api"
28120
28276
 
28121
28277
 
28278
+ class scout_compute_api_ComputeWithUnitsResult(ConjureBeanType):
28279
+
28280
+ @builtins.classmethod
28281
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
28282
+ return {
28283
+ 'compute_result': ConjureFieldDefinition('computeResult', scout_compute_api_ComputeNodeResult),
28284
+ 'unit_result': ConjureFieldDefinition('unitResult', scout_compute_api_ComputeUnitResult)
28285
+ }
28286
+
28287
+ __slots__: List[str] = ['_compute_result', '_unit_result']
28288
+
28289
+ def __init__(self, compute_result: "scout_compute_api_ComputeNodeResult", unit_result: "scout_compute_api_ComputeUnitResult") -> None:
28290
+ self._compute_result = compute_result
28291
+ self._unit_result = unit_result
28292
+
28293
+ @builtins.property
28294
+ def compute_result(self) -> "scout_compute_api_ComputeNodeResult":
28295
+ return self._compute_result
28296
+
28297
+ @builtins.property
28298
+ def unit_result(self) -> "scout_compute_api_ComputeUnitResult":
28299
+ return self._unit_result
28300
+
28301
+
28302
+ scout_compute_api_ComputeWithUnitsResult.__name__ = "ComputeWithUnitsResult"
28303
+ scout_compute_api_ComputeWithUnitsResult.__qualname__ = "ComputeWithUnitsResult"
28304
+ scout_compute_api_ComputeWithUnitsResult.__module__ = "nominal_api.scout_compute_api"
28305
+
28306
+
28122
28307
  class scout_compute_api_Context(ConjureBeanType):
28123
28308
 
28124
28309
  @builtins.classmethod
@@ -32140,16 +32325,16 @@ class scout_compute_api_ParameterizedComputeNodeResponse(ConjureBeanType):
32140
32325
  @builtins.classmethod
32141
32326
  def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
32142
32327
  return {
32143
- 'results': ConjureFieldDefinition('results', List[scout_compute_api_ParameterizedComputeNodeResult])
32328
+ 'results': ConjureFieldDefinition('results', List[scout_compute_api_ComputeNodeResult])
32144
32329
  }
32145
32330
 
32146
32331
  __slots__: List[str] = ['_results']
32147
32332
 
32148
- def __init__(self, results: List["scout_compute_api_ParameterizedComputeNodeResult"]) -> None:
32333
+ def __init__(self, results: List["scout_compute_api_ComputeNodeResult"]) -> None:
32149
32334
  self._results = results
32150
32335
 
32151
32336
  @builtins.property
32152
- def results(self) -> List["scout_compute_api_ParameterizedComputeNodeResult"]:
32337
+ def results(self) -> List["scout_compute_api_ComputeNodeResult"]:
32153
32338
  return self._results
32154
32339
 
32155
32340
 
@@ -32158,83 +32343,6 @@ scout_compute_api_ParameterizedComputeNodeResponse.__qualname__ = "Parameterized
32158
32343
  scout_compute_api_ParameterizedComputeNodeResponse.__module__ = "nominal_api.scout_compute_api"
32159
32344
 
32160
32345
 
32161
- class scout_compute_api_ParameterizedComputeNodeResult(ConjureUnionType):
32162
- _success: Optional["scout_compute_api_ComputeNodeResponse"] = None
32163
- _error: Optional["scout_compute_api_ErrorResult"] = None
32164
-
32165
- @builtins.classmethod
32166
- def _options(cls) -> Dict[str, ConjureFieldDefinition]:
32167
- return {
32168
- 'success': ConjureFieldDefinition('success', scout_compute_api_ComputeNodeResponse),
32169
- 'error': ConjureFieldDefinition('error', scout_compute_api_ErrorResult)
32170
- }
32171
-
32172
- def __init__(
32173
- self,
32174
- success: Optional["scout_compute_api_ComputeNodeResponse"] = None,
32175
- error: Optional["scout_compute_api_ErrorResult"] = None,
32176
- type_of_union: Optional[str] = None
32177
- ) -> None:
32178
- if type_of_union is None:
32179
- if (success is not None) + (error is not None) != 1:
32180
- raise ValueError('a union must contain a single member')
32181
-
32182
- if success is not None:
32183
- self._success = success
32184
- self._type = 'success'
32185
- if error is not None:
32186
- self._error = error
32187
- self._type = 'error'
32188
-
32189
- elif type_of_union == 'success':
32190
- if success is None:
32191
- raise ValueError('a union value must not be None')
32192
- self._success = success
32193
- self._type = 'success'
32194
- elif type_of_union == 'error':
32195
- if error is None:
32196
- raise ValueError('a union value must not be None')
32197
- self._error = error
32198
- self._type = 'error'
32199
-
32200
- @builtins.property
32201
- def success(self) -> Optional["scout_compute_api_ComputeNodeResponse"]:
32202
- return self._success
32203
-
32204
- @builtins.property
32205
- def error(self) -> Optional["scout_compute_api_ErrorResult"]:
32206
- return self._error
32207
-
32208
- def accept(self, visitor) -> Any:
32209
- if not isinstance(visitor, scout_compute_api_ParameterizedComputeNodeResultVisitor):
32210
- raise ValueError('{} is not an instance of scout_compute_api_ParameterizedComputeNodeResultVisitor'.format(visitor.__class__.__name__))
32211
- if self._type == 'success' and self.success is not None:
32212
- return visitor._success(self.success)
32213
- if self._type == 'error' and self.error is not None:
32214
- return visitor._error(self.error)
32215
-
32216
-
32217
- scout_compute_api_ParameterizedComputeNodeResult.__name__ = "ParameterizedComputeNodeResult"
32218
- scout_compute_api_ParameterizedComputeNodeResult.__qualname__ = "ParameterizedComputeNodeResult"
32219
- scout_compute_api_ParameterizedComputeNodeResult.__module__ = "nominal_api.scout_compute_api"
32220
-
32221
-
32222
- class scout_compute_api_ParameterizedComputeNodeResultVisitor:
32223
-
32224
- @abstractmethod
32225
- def _success(self, success: "scout_compute_api_ComputeNodeResponse") -> Any:
32226
- pass
32227
-
32228
- @abstractmethod
32229
- def _error(self, error: "scout_compute_api_ErrorResult") -> Any:
32230
- pass
32231
-
32232
-
32233
- scout_compute_api_ParameterizedComputeNodeResultVisitor.__name__ = "ParameterizedComputeNodeResultVisitor"
32234
- scout_compute_api_ParameterizedComputeNodeResultVisitor.__qualname__ = "ParameterizedComputeNodeResultVisitor"
32235
- scout_compute_api_ParameterizedComputeNodeResultVisitor.__module__ = "nominal_api.scout_compute_api"
32236
-
32237
-
32238
32346
  class scout_compute_api_ParameterizedContext(ConjureBeanType):
32239
32347
 
32240
32348
  @builtins.classmethod
@@ -10,6 +10,8 @@ from .._impl import (
10
10
  scout_compute_api_Average as Average,
11
11
  scout_compute_api_BatchComputeUnitResult as BatchComputeUnitResult,
12
12
  scout_compute_api_BatchComputeUnitsRequest as BatchComputeUnitsRequest,
13
+ scout_compute_api_BatchComputeWithUnitsRequest as BatchComputeWithUnitsRequest,
14
+ scout_compute_api_BatchComputeWithUnitsResponse as BatchComputeWithUnitsResponse,
13
15
  scout_compute_api_BinaryArithmeticOperation as BinaryArithmeticOperation,
14
16
  scout_compute_api_BinaryArithmeticSeries as BinaryArithmeticSeries,
15
17
  scout_compute_api_BitAndFunction as BitAndFunction,
@@ -39,6 +41,8 @@ from .._impl import (
39
41
  scout_compute_api_ComputeNodeRequest as ComputeNodeRequest,
40
42
  scout_compute_api_ComputeNodeResponse as ComputeNodeResponse,
41
43
  scout_compute_api_ComputeNodeResponseVisitor as ComputeNodeResponseVisitor,
44
+ scout_compute_api_ComputeNodeResult as ComputeNodeResult,
45
+ scout_compute_api_ComputeNodeResultVisitor as ComputeNodeResultVisitor,
42
46
  scout_compute_api_ComputeNodeVisitor as ComputeNodeVisitor,
43
47
  scout_compute_api_ComputeNodeWithContext as ComputeNodeWithContext,
44
48
  scout_compute_api_ComputeService as ComputeService,
@@ -47,6 +51,7 @@ from .._impl import (
47
51
  scout_compute_api_ComputeUnitsRequest as ComputeUnitsRequest,
48
52
  scout_compute_api_ComputeWithUnitsRequest as ComputeWithUnitsRequest,
49
53
  scout_compute_api_ComputeWithUnitsResponse as ComputeWithUnitsResponse,
54
+ scout_compute_api_ComputeWithUnitsResult as ComputeWithUnitsResult,
50
55
  scout_compute_api_Context as Context,
51
56
  scout_compute_api_Count as Count,
52
57
  scout_compute_api_CumulativeSumSeries as CumulativeSumSeries,
@@ -152,8 +157,6 @@ from .._impl import (
152
157
  scout_compute_api_ParameterInput as ParameterInput,
153
158
  scout_compute_api_ParameterizedComputeNodeRequest as ParameterizedComputeNodeRequest,
154
159
  scout_compute_api_ParameterizedComputeNodeResponse as ParameterizedComputeNodeResponse,
155
- scout_compute_api_ParameterizedComputeNodeResult as ParameterizedComputeNodeResult,
156
- scout_compute_api_ParameterizedComputeNodeResultVisitor as ParameterizedComputeNodeResultVisitor,
157
160
  scout_compute_api_ParameterizedContext as ParameterizedContext,
158
161
  scout_compute_api_PeakRanges as PeakRanges,
159
162
  scout_compute_api_PeakType as PeakType,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: nominal-api
3
- Version: 0.508.0
3
+ Version: 0.510.0
4
4
  Requires-Python: >=3.8
5
5
  Requires-Dist: requests
6
6
  Requires-Dist: conjure-python-client<3,>=2.8.0
@@ -6,7 +6,7 @@ from setuptools import (
6
6
 
7
7
  setup(
8
8
  name='nominal-api',
9
- version='0.508.0',
9
+ version='0.510.0',
10
10
  python_requires='>=3.8',
11
11
  package_data={"": ["py.typed"]},
12
12
  packages=find_packages(),
File without changes