nominal-api 0.795.1__py3-none-any.whl → 0.795.2__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 CHANGED
@@ -78,5 +78,5 @@ __all__ = [
78
78
 
79
79
  __conjure_generator_version__ = "4.17.0"
80
80
 
81
- __version__ = "0.795.1"
81
+ __version__ = "0.795.2"
82
82
 
nominal_api/_impl.py CHANGED
@@ -63253,104 +63253,6 @@ scout_datareview_api_DataReview.__qualname__ = "DataReview"
63253
63253
  scout_datareview_api_DataReview.__module__ = "nominal_api.scout_datareview_api"
63254
63254
 
63255
63255
 
63256
- class scout_datareview_api_DataReviewCheckMetricsScope(ConjureUnionType):
63257
- _run_rid: Optional[str] = None
63258
- _asset_rid: Optional[str] = None
63259
- _data_review_rid: Optional[str] = None
63260
-
63261
- @builtins.classmethod
63262
- def _options(cls) -> Dict[str, ConjureFieldDefinition]:
63263
- return {
63264
- 'run_rid': ConjureFieldDefinition('runRid', scout_run_api_RunRid),
63265
- 'asset_rid': ConjureFieldDefinition('assetRid', scout_rids_api_AssetRid),
63266
- 'data_review_rid': ConjureFieldDefinition('dataReviewRid', scout_rids_api_DataReviewRid)
63267
- }
63268
-
63269
- def __init__(
63270
- self,
63271
- run_rid: Optional[str] = None,
63272
- asset_rid: Optional[str] = None,
63273
- data_review_rid: Optional[str] = None,
63274
- type_of_union: Optional[str] = None
63275
- ) -> None:
63276
- if type_of_union is None:
63277
- if (run_rid is not None) + (asset_rid is not None) + (data_review_rid is not None) != 1:
63278
- raise ValueError('a union must contain a single member')
63279
-
63280
- if run_rid is not None:
63281
- self._run_rid = run_rid
63282
- self._type = 'runRid'
63283
- if asset_rid is not None:
63284
- self._asset_rid = asset_rid
63285
- self._type = 'assetRid'
63286
- if data_review_rid is not None:
63287
- self._data_review_rid = data_review_rid
63288
- self._type = 'dataReviewRid'
63289
-
63290
- elif type_of_union == 'runRid':
63291
- if run_rid is None:
63292
- raise ValueError('a union value must not be None')
63293
- self._run_rid = run_rid
63294
- self._type = 'runRid'
63295
- elif type_of_union == 'assetRid':
63296
- if asset_rid is None:
63297
- raise ValueError('a union value must not be None')
63298
- self._asset_rid = asset_rid
63299
- self._type = 'assetRid'
63300
- elif type_of_union == 'dataReviewRid':
63301
- if data_review_rid is None:
63302
- raise ValueError('a union value must not be None')
63303
- self._data_review_rid = data_review_rid
63304
- self._type = 'dataReviewRid'
63305
-
63306
- @builtins.property
63307
- def run_rid(self) -> Optional[str]:
63308
- return self._run_rid
63309
-
63310
- @builtins.property
63311
- def asset_rid(self) -> Optional[str]:
63312
- return self._asset_rid
63313
-
63314
- @builtins.property
63315
- def data_review_rid(self) -> Optional[str]:
63316
- return self._data_review_rid
63317
-
63318
- def accept(self, visitor) -> Any:
63319
- if not isinstance(visitor, scout_datareview_api_DataReviewCheckMetricsScopeVisitor):
63320
- raise ValueError('{} is not an instance of scout_datareview_api_DataReviewCheckMetricsScopeVisitor'.format(visitor.__class__.__name__))
63321
- if self._type == 'runRid' and self.run_rid is not None:
63322
- return visitor._run_rid(self.run_rid)
63323
- if self._type == 'assetRid' and self.asset_rid is not None:
63324
- return visitor._asset_rid(self.asset_rid)
63325
- if self._type == 'dataReviewRid' and self.data_review_rid is not None:
63326
- return visitor._data_review_rid(self.data_review_rid)
63327
-
63328
-
63329
- scout_datareview_api_DataReviewCheckMetricsScope.__name__ = "DataReviewCheckMetricsScope"
63330
- scout_datareview_api_DataReviewCheckMetricsScope.__qualname__ = "DataReviewCheckMetricsScope"
63331
- scout_datareview_api_DataReviewCheckMetricsScope.__module__ = "nominal_api.scout_datareview_api"
63332
-
63333
-
63334
- class scout_datareview_api_DataReviewCheckMetricsScopeVisitor:
63335
-
63336
- @abstractmethod
63337
- def _run_rid(self, run_rid: str) -> Any:
63338
- pass
63339
-
63340
- @abstractmethod
63341
- def _asset_rid(self, asset_rid: str) -> Any:
63342
- pass
63343
-
63344
- @abstractmethod
63345
- def _data_review_rid(self, data_review_rid: str) -> Any:
63346
- pass
63347
-
63348
-
63349
- scout_datareview_api_DataReviewCheckMetricsScopeVisitor.__name__ = "DataReviewCheckMetricsScopeVisitor"
63350
- scout_datareview_api_DataReviewCheckMetricsScopeVisitor.__qualname__ = "DataReviewCheckMetricsScopeVisitor"
63351
- scout_datareview_api_DataReviewCheckMetricsScopeVisitor.__module__ = "nominal_api.scout_datareview_api"
63352
-
63353
-
63354
63256
  class scout_datareview_api_DataReviewPage(ConjureBeanType):
63355
63257
 
63356
63258
  @builtins.classmethod
@@ -64027,36 +63929,6 @@ then none of the actions will be applied.
64027
63929
 
64028
63930
  return
64029
63931
 
64030
- def get_data_review_check_metrics(self, auth_header: str, request: "scout_datareview_api_GetDataReviewCheckMetricsRequest") -> "scout_datareview_api_GetDataReviewCheckMetricsResponse":
64031
- _conjure_encoder = ConjureEncoder()
64032
-
64033
- _headers: Dict[str, Any] = {
64034
- 'Accept': 'application/json',
64035
- 'Content-Type': 'application/json',
64036
- 'Authorization': auth_header,
64037
- }
64038
-
64039
- _params: Dict[str, Any] = {
64040
- }
64041
-
64042
- _path_params: Dict[str, str] = {
64043
- }
64044
-
64045
- _json: Any = _conjure_encoder.default(request)
64046
-
64047
- _path = '/scout/v2/data-review/data-review-check-metrics'
64048
- _path = _path.format(**_path_params)
64049
-
64050
- _response: Response = self._request(
64051
- 'POST',
64052
- self._uri + _path,
64053
- params=_params,
64054
- headers=_headers,
64055
- json=_json)
64056
-
64057
- _decoder = ConjureDecoder()
64058
- return _decoder.decode(_response.json(), scout_datareview_api_GetDataReviewCheckMetricsResponse, self._return_none_for_unknown_union_types)
64059
-
64060
63932
 
64061
63933
  scout_datareview_api_DataReviewService.__name__ = "DataReviewService"
64062
63934
  scout_datareview_api_DataReviewService.__qualname__ = "DataReviewService"
@@ -64280,154 +64152,6 @@ scout_datareview_api_GeneratedAlertsState.__qualname__ = "GeneratedAlertsState"
64280
64152
  scout_datareview_api_GeneratedAlertsState.__module__ = "nominal_api.scout_datareview_api"
64281
64153
 
64282
64154
 
64283
- class scout_datareview_api_GetDataReviewCheckMetricsRequest(ConjureBeanType):
64284
-
64285
- @builtins.classmethod
64286
- def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
64287
- return {
64288
- 'scope': ConjureFieldDefinition('scope', scout_datareview_api_DataReviewCheckMetricsScope)
64289
- }
64290
-
64291
- __slots__: List[str] = ['_scope']
64292
-
64293
- def __init__(self, scope: "scout_datareview_api_DataReviewCheckMetricsScope") -> None:
64294
- self._scope = scope
64295
-
64296
- @builtins.property
64297
- def scope(self) -> "scout_datareview_api_DataReviewCheckMetricsScope":
64298
- return self._scope
64299
-
64300
-
64301
- scout_datareview_api_GetDataReviewCheckMetricsRequest.__name__ = "GetDataReviewCheckMetricsRequest"
64302
- scout_datareview_api_GetDataReviewCheckMetricsRequest.__qualname__ = "GetDataReviewCheckMetricsRequest"
64303
- scout_datareview_api_GetDataReviewCheckMetricsRequest.__module__ = "nominal_api.scout_datareview_api"
64304
-
64305
-
64306
- class scout_datareview_api_GetDataReviewCheckMetricsResponse(ConjureBeanType):
64307
-
64308
- @builtins.classmethod
64309
- def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
64310
- return {
64311
- 'checks_pending_execution': ConjureFieldDefinition('checksPendingExecution', int),
64312
- 'checks_executing': ConjureFieldDefinition('checksExecuting', int),
64313
- 'checks_passed': ConjureFieldDefinition('checksPassed', int),
64314
- 'checks_with_events_pending_review': ConjureFieldDefinition('checksWithEventsPendingReview', int),
64315
- 'checks_with_events_closed_with_ignore': ConjureFieldDefinition('checksWithEventsClosedWithIgnore', int),
64316
- 'checks_with_events_closed_with_further_action': ConjureFieldDefinition('checksWithEventsClosedWithFurtherAction', int),
64317
- 'checks_with_events': ConjureFieldDefinition('checksWithEvents', int),
64318
- 'checks_with_too_many_events': ConjureFieldDefinition('checksWithTooManyEvents', int),
64319
- 'checks_failed_to_execute_pending_review': ConjureFieldDefinition('checksFailedToExecutePendingReview', int),
64320
- 'checks_failed_to_execute_closed_with_ignore': ConjureFieldDefinition('checksFailedToExecuteClosedWithIgnore', int),
64321
- 'checks_failed_to_execute_closed_with_further_action': ConjureFieldDefinition('checksFailedToExecuteClosedWithFurtherAction', int),
64322
- 'checks_failed_to_execute': ConjureFieldDefinition('checksFailedToExecute', int),
64323
- 'checks_executed': ConjureFieldDefinition('checksExecuted', int),
64324
- 'checks_total': ConjureFieldDefinition('checksTotal', int),
64325
- 'events_pending_review': ConjureFieldDefinition('eventsPendingReview', int),
64326
- 'events_closed_with_ignore': ConjureFieldDefinition('eventsClosedWithIgnore', int),
64327
- 'events_closed_with_further_action': ConjureFieldDefinition('eventsClosedWithFurtherAction', int),
64328
- 'events_total': ConjureFieldDefinition('eventsTotal', int)
64329
- }
64330
-
64331
- __slots__: List[str] = ['_checks_pending_execution', '_checks_executing', '_checks_passed', '_checks_with_events_pending_review', '_checks_with_events_closed_with_ignore', '_checks_with_events_closed_with_further_action', '_checks_with_events', '_checks_with_too_many_events', '_checks_failed_to_execute_pending_review', '_checks_failed_to_execute_closed_with_ignore', '_checks_failed_to_execute_closed_with_further_action', '_checks_failed_to_execute', '_checks_executed', '_checks_total', '_events_pending_review', '_events_closed_with_ignore', '_events_closed_with_further_action', '_events_total']
64332
-
64333
- def __init__(self, checks_executed: int, checks_executing: int, checks_failed_to_execute: int, checks_failed_to_execute_closed_with_further_action: int, checks_failed_to_execute_closed_with_ignore: int, checks_failed_to_execute_pending_review: int, checks_passed: int, checks_pending_execution: int, checks_total: int, checks_with_events: int, checks_with_events_closed_with_further_action: int, checks_with_events_closed_with_ignore: int, checks_with_events_pending_review: int, checks_with_too_many_events: int, events_closed_with_further_action: int, events_closed_with_ignore: int, events_pending_review: int, events_total: int) -> None:
64334
- self._checks_pending_execution = checks_pending_execution
64335
- self._checks_executing = checks_executing
64336
- self._checks_passed = checks_passed
64337
- self._checks_with_events_pending_review = checks_with_events_pending_review
64338
- self._checks_with_events_closed_with_ignore = checks_with_events_closed_with_ignore
64339
- self._checks_with_events_closed_with_further_action = checks_with_events_closed_with_further_action
64340
- self._checks_with_events = checks_with_events
64341
- self._checks_with_too_many_events = checks_with_too_many_events
64342
- self._checks_failed_to_execute_pending_review = checks_failed_to_execute_pending_review
64343
- self._checks_failed_to_execute_closed_with_ignore = checks_failed_to_execute_closed_with_ignore
64344
- self._checks_failed_to_execute_closed_with_further_action = checks_failed_to_execute_closed_with_further_action
64345
- self._checks_failed_to_execute = checks_failed_to_execute
64346
- self._checks_executed = checks_executed
64347
- self._checks_total = checks_total
64348
- self._events_pending_review = events_pending_review
64349
- self._events_closed_with_ignore = events_closed_with_ignore
64350
- self._events_closed_with_further_action = events_closed_with_further_action
64351
- self._events_total = events_total
64352
-
64353
- @builtins.property
64354
- def checks_pending_execution(self) -> int:
64355
- return self._checks_pending_execution
64356
-
64357
- @builtins.property
64358
- def checks_executing(self) -> int:
64359
- return self._checks_executing
64360
-
64361
- @builtins.property
64362
- def checks_passed(self) -> int:
64363
- return self._checks_passed
64364
-
64365
- @builtins.property
64366
- def checks_with_events_pending_review(self) -> int:
64367
- return self._checks_with_events_pending_review
64368
-
64369
- @builtins.property
64370
- def checks_with_events_closed_with_ignore(self) -> int:
64371
- return self._checks_with_events_closed_with_ignore
64372
-
64373
- @builtins.property
64374
- def checks_with_events_closed_with_further_action(self) -> int:
64375
- return self._checks_with_events_closed_with_further_action
64376
-
64377
- @builtins.property
64378
- def checks_with_events(self) -> int:
64379
- return self._checks_with_events
64380
-
64381
- @builtins.property
64382
- def checks_with_too_many_events(self) -> int:
64383
- return self._checks_with_too_many_events
64384
-
64385
- @builtins.property
64386
- def checks_failed_to_execute_pending_review(self) -> int:
64387
- return self._checks_failed_to_execute_pending_review
64388
-
64389
- @builtins.property
64390
- def checks_failed_to_execute_closed_with_ignore(self) -> int:
64391
- return self._checks_failed_to_execute_closed_with_ignore
64392
-
64393
- @builtins.property
64394
- def checks_failed_to_execute_closed_with_further_action(self) -> int:
64395
- return self._checks_failed_to_execute_closed_with_further_action
64396
-
64397
- @builtins.property
64398
- def checks_failed_to_execute(self) -> int:
64399
- return self._checks_failed_to_execute
64400
-
64401
- @builtins.property
64402
- def checks_executed(self) -> int:
64403
- return self._checks_executed
64404
-
64405
- @builtins.property
64406
- def checks_total(self) -> int:
64407
- return self._checks_total
64408
-
64409
- @builtins.property
64410
- def events_pending_review(self) -> int:
64411
- return self._events_pending_review
64412
-
64413
- @builtins.property
64414
- def events_closed_with_ignore(self) -> int:
64415
- return self._events_closed_with_ignore
64416
-
64417
- @builtins.property
64418
- def events_closed_with_further_action(self) -> int:
64419
- return self._events_closed_with_further_action
64420
-
64421
- @builtins.property
64422
- def events_total(self) -> int:
64423
- return self._events_total
64424
-
64425
-
64426
- scout_datareview_api_GetDataReviewCheckMetricsResponse.__name__ = "GetDataReviewCheckMetricsResponse"
64427
- scout_datareview_api_GetDataReviewCheckMetricsResponse.__qualname__ = "GetDataReviewCheckMetricsResponse"
64428
- scout_datareview_api_GetDataReviewCheckMetricsResponse.__module__ = "nominal_api.scout_datareview_api"
64429
-
64430
-
64431
64155
  class scout_datareview_api_HistogramBucket(ConjureBeanType):
64432
64156
 
64433
64157
  @builtins.classmethod
@@ -51,8 +51,6 @@ from .._impl import (
51
51
  scout_datareview_api_ClosedWithFurtherActionState as ClosedWithFurtherActionState,
52
52
  scout_datareview_api_CreateDataReviewRequest as CreateDataReviewRequest,
53
53
  scout_datareview_api_DataReview as DataReview,
54
- scout_datareview_api_DataReviewCheckMetricsScope as DataReviewCheckMetricsScope,
55
- scout_datareview_api_DataReviewCheckMetricsScopeVisitor as DataReviewCheckMetricsScopeVisitor,
56
54
  scout_datareview_api_DataReviewPage as DataReviewPage,
57
55
  scout_datareview_api_DataReviewService as DataReviewService,
58
56
  scout_datareview_api_DuplicateAndLinkNotebook as DuplicateAndLinkNotebook,
@@ -61,8 +59,6 @@ from .._impl import (
61
59
  scout_datareview_api_FailedToExecuteState as FailedToExecuteState,
62
60
  scout_datareview_api_FindDataReviewsRequest as FindDataReviewsRequest,
63
61
  scout_datareview_api_GeneratedAlertsState as GeneratedAlertsState,
64
- scout_datareview_api_GetDataReviewCheckMetricsRequest as GetDataReviewCheckMetricsRequest,
65
- scout_datareview_api_GetDataReviewCheckMetricsResponse as GetDataReviewCheckMetricsResponse,
66
62
  scout_datareview_api_HistogramBucket as HistogramBucket,
67
63
  scout_datareview_api_HistogramDistributionVariable as HistogramDistributionVariable,
68
64
  scout_datareview_api_HistogramDistributionVariableVisitor as HistogramDistributionVariableVisitor,
@@ -162,8 +158,6 @@ __all__ = [
162
158
  'ClosedWithFurtherActionState',
163
159
  'CreateDataReviewRequest',
164
160
  'DataReview',
165
- 'DataReviewCheckMetricsScope',
166
- 'DataReviewCheckMetricsScopeVisitor',
167
161
  'DataReviewPage',
168
162
  'DuplicateAndLinkNotebook',
169
163
  'ExecutingState',
@@ -171,8 +165,6 @@ __all__ = [
171
165
  'FailedToExecuteState',
172
166
  'FindDataReviewsRequest',
173
167
  'GeneratedAlertsState',
174
- 'GetDataReviewCheckMetricsRequest',
175
- 'GetDataReviewCheckMetricsResponse',
176
168
  'HistogramBucket',
177
169
  'HistogramDistributionVariable',
178
170
  'HistogramDistributionVariableVisitor',
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nominal-api
3
- Version: 0.795.1
3
+ Version: 0.795.2
4
4
  Requires-Python: >=3.8
5
5
  Requires-Dist: requests
6
6
  Requires-Dist: conjure-python-client<4,>=2.8.0
@@ -1,5 +1,5 @@
1
- nominal_api/__init__.py,sha256=b9-NV4tEv2xdlMGQlXJAJQE8p7yH3oX0VRhQSx11CyQ,2012
2
- nominal_api/_impl.py,sha256=3c5CYOX977TbiPvI1kmyqdpNBEaGemzdd0cNYXfEio4,3479485
1
+ nominal_api/__init__.py,sha256=M4PT0kOamfy20USoU845zOFsU8gqjunobDAP9vKYmIA,2012
2
+ nominal_api/_impl.py,sha256=tzMPlp90BMYjJwyR1Ycd2WuMuQRkfWKZ71i-FkEOP5Y,3466506
3
3
  nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
4
4
  nominal_api/api/__init__.py,sha256=PMREKP7UhxJ1_gHkrlJET46qlDHksKMm6-woR1p6WnU,1970
5
5
  nominal_api/api_ids/__init__.py,sha256=sxqN5dMk6bOx0SKOd0ANG3_kmx1VtdSVotzEGn_q6sE,114
@@ -37,7 +37,7 @@ nominal_api/scout_compute_api/__init__.py,sha256=UkZrC3WZu27mxPq7NH9RDlulaNfRf39
37
37
  nominal_api/scout_compute_api_deprecated/__init__.py,sha256=JrZKbt1ulYECTdUSkXn6On22Alu_cPUBjCRWTN3ctxk,5041
38
38
  nominal_api/scout_compute_resolved_api/__init__.py,sha256=2t1dsfXgVxsHrI3BUn2geGMVsDctW96FMTYdvmALt_Y,16561
39
39
  nominal_api/scout_dataexport_api/__init__.py,sha256=CF2vuo8kUXLJ4B7w95STrU0UMoBGuziacH5Eo3uxYf4,2068
40
- nominal_api/scout_datareview_api/__init__.py,sha256=ITQR6pdPseU9vS2bKDeleafiBhurtHmcHeKz_6J8Ab8,12229
40
+ nominal_api/scout_datareview_api/__init__.py,sha256=kTDvcuav5bBm3IPhvmDrBTYyVD26iQVkyzdZnu75omE,11695
41
41
  nominal_api/scout_datasource/__init__.py,sha256=Z1Msu1Daf8GlLuM3w5imyB-6DhTNZojxI6xpH1sSvhM,141
42
42
  nominal_api/scout_datasource_connection/__init__.py,sha256=vT-OJYR5a--THheuxH1T1n553ZHp8pwsWBVzB7qvuKs,285
43
43
  nominal_api/scout_datasource_connection_api/__init__.py,sha256=qsgop-L20mSfE0yxlgtqPkcj_S-AJLm9V-75jqdASFQ,6717
@@ -75,7 +75,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=BwdqHLq_98LOsRV14JA3
75
75
  nominal_api/timeseries_seriescache/__init__.py,sha256=hL5hN8jKLEGE_fDiZzdASmWIrRjU6tncpmDeuc_47P4,150
76
76
  nominal_api/timeseries_seriescache_api/__init__.py,sha256=USBxFmNnVFdnhTPLvWi3UgsvBZ4Iz4ycNgBTi10F-zI,1603
77
77
  nominal_api/upload_api/__init__.py,sha256=7-XXuZUqKPV4AMWvxNpZPZ5vBun4x-AomXj3Vol_BN4,123
78
- nominal_api-0.795.1.dist-info/METADATA,sha256=oJsTJsA7iaZQbeW6dklTXAnJYkd_tkdw7pXOFT7bTdI,199
79
- nominal_api-0.795.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
80
- nominal_api-0.795.1.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
81
- nominal_api-0.795.1.dist-info/RECORD,,
78
+ nominal_api-0.795.2.dist-info/METADATA,sha256=nJrTUxHpGuGyLbQEkuoccHWuvDGrJlxohyIb0rWL2FU,199
79
+ nominal_api-0.795.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
80
+ nominal_api-0.795.2.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
81
+ nominal_api-0.795.2.dist-info/RECORD,,