nominal-api 0.644.0__py3-none-any.whl → 0.645.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 +77 -15
- nominal_api/scout_asset_api/__init__.py +1 -0
- {nominal_api-0.644.0.dist-info → nominal_api-0.645.0.dist-info}/METADATA +1 -1
- {nominal_api-0.644.0.dist-info → nominal_api-0.645.0.dist-info}/RECORD +7 -7
- {nominal_api-0.644.0.dist-info → nominal_api-0.645.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.644.0.dist-info → nominal_api-0.645.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -11567,6 +11567,7 @@ class ingest_workflow_api_EnsureExtractorJobCreatedRequest(ConjureBeanType):
|
|
|
11567
11567
|
@builtins.classmethod
|
|
11568
11568
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
11569
11569
|
return {
|
|
11570
|
+
'bearer_token': ConjureFieldDefinition('bearerToken', str),
|
|
11570
11571
|
'workspace_rid': ConjureFieldDefinition('workspaceRid', api_rids_WorkspaceRid),
|
|
11571
11572
|
'ingest_job_uuid': ConjureFieldDefinition('ingestJobUuid', str),
|
|
11572
11573
|
'containerized_extractor': ConjureFieldDefinition('containerizedExtractor', ingest_api_ContainerizedExtractor),
|
|
@@ -11575,9 +11576,10 @@ class ingest_workflow_api_EnsureExtractorJobCreatedRequest(ConjureBeanType):
|
|
|
11575
11576
|
'image_pull_secret_name': ConjureFieldDefinition('imagePullSecretName', OptionalTypeWrapper[str])
|
|
11576
11577
|
}
|
|
11577
11578
|
|
|
11578
|
-
__slots__: List[str] = ['_workspace_rid', '_ingest_job_uuid', '_containerized_extractor', '_source_handles', '_multipart_upload_details', '_image_pull_secret_name']
|
|
11579
|
+
__slots__: List[str] = ['_bearer_token', '_workspace_rid', '_ingest_job_uuid', '_containerized_extractor', '_source_handles', '_multipart_upload_details', '_image_pull_secret_name']
|
|
11579
11580
|
|
|
11580
|
-
def __init__(self, containerized_extractor: "ingest_api_ContainerizedExtractor", ingest_job_uuid: str, multipart_upload_details: "ingest_workflow_api_MultipartUploadDetails", source_handles: Dict[str, "scout_catalog_S3Handle"], workspace_rid: str, image_pull_secret_name: Optional[str] = None) -> None:
|
|
11581
|
+
def __init__(self, bearer_token: str, containerized_extractor: "ingest_api_ContainerizedExtractor", ingest_job_uuid: str, multipart_upload_details: "ingest_workflow_api_MultipartUploadDetails", source_handles: Dict[str, "scout_catalog_S3Handle"], workspace_rid: str, image_pull_secret_name: Optional[str] = None) -> None:
|
|
11582
|
+
self._bearer_token = bearer_token
|
|
11581
11583
|
self._workspace_rid = workspace_rid
|
|
11582
11584
|
self._ingest_job_uuid = ingest_job_uuid
|
|
11583
11585
|
self._containerized_extractor = containerized_extractor
|
|
@@ -11585,6 +11587,10 @@ class ingest_workflow_api_EnsureExtractorJobCreatedRequest(ConjureBeanType):
|
|
|
11585
11587
|
self._multipart_upload_details = multipart_upload_details
|
|
11586
11588
|
self._image_pull_secret_name = image_pull_secret_name
|
|
11587
11589
|
|
|
11590
|
+
@builtins.property
|
|
11591
|
+
def bearer_token(self) -> str:
|
|
11592
|
+
return self._bearer_token
|
|
11593
|
+
|
|
11588
11594
|
@builtins.property
|
|
11589
11595
|
def workspace_rid(self) -> str:
|
|
11590
11596
|
return self._workspace_rid
|
|
@@ -16955,6 +16961,29 @@ scout_asset_api_Type.__qualname__ = "Type"
|
|
|
16955
16961
|
scout_asset_api_Type.__module__ = "nominal_api.scout_asset_api"
|
|
16956
16962
|
|
|
16957
16963
|
|
|
16964
|
+
class scout_asset_api_UpdateAssetRefNamesRequest(ConjureBeanType):
|
|
16965
|
+
|
|
16966
|
+
@builtins.classmethod
|
|
16967
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
16968
|
+
return {
|
|
16969
|
+
'data_scope_ref_name_updates': ConjureFieldDefinition('dataScopeRefNameUpdates', Dict[scout_asset_api_DataScopeName, scout_asset_api_DataScopeName])
|
|
16970
|
+
}
|
|
16971
|
+
|
|
16972
|
+
__slots__: List[str] = ['_data_scope_ref_name_updates']
|
|
16973
|
+
|
|
16974
|
+
def __init__(self, data_scope_ref_name_updates: Dict[str, str]) -> None:
|
|
16975
|
+
self._data_scope_ref_name_updates = data_scope_ref_name_updates
|
|
16976
|
+
|
|
16977
|
+
@builtins.property
|
|
16978
|
+
def data_scope_ref_name_updates(self) -> Dict[str, str]:
|
|
16979
|
+
return self._data_scope_ref_name_updates
|
|
16980
|
+
|
|
16981
|
+
|
|
16982
|
+
scout_asset_api_UpdateAssetRefNamesRequest.__name__ = "UpdateAssetRefNamesRequest"
|
|
16983
|
+
scout_asset_api_UpdateAssetRefNamesRequest.__qualname__ = "UpdateAssetRefNamesRequest"
|
|
16984
|
+
scout_asset_api_UpdateAssetRefNamesRequest.__module__ = "nominal_api.scout_asset_api"
|
|
16985
|
+
|
|
16986
|
+
|
|
16958
16987
|
class scout_asset_api_UpdateAssetRequest(ConjureBeanType):
|
|
16959
16988
|
|
|
16960
16989
|
@builtins.classmethod
|
|
@@ -17454,6 +17483,39 @@ Throws if the asset already has data scopes with data scope names matching those
|
|
|
17454
17483
|
|
|
17455
17484
|
return
|
|
17456
17485
|
|
|
17486
|
+
def update_asset_ref_names(self, auth_header: str, request: "scout_asset_api_UpdateAssetRefNamesRequest", rid: str) -> None:
|
|
17487
|
+
"""
|
|
17488
|
+
Update the ref names for the data scopes on the asset. This update will also be applied on all associated
|
|
17489
|
+
workbooks.
|
|
17490
|
+
"""
|
|
17491
|
+
|
|
17492
|
+
_headers: Dict[str, Any] = {
|
|
17493
|
+
'Accept': 'application/json',
|
|
17494
|
+
'Content-Type': 'application/json',
|
|
17495
|
+
'Authorization': auth_header,
|
|
17496
|
+
}
|
|
17497
|
+
|
|
17498
|
+
_params: Dict[str, Any] = {
|
|
17499
|
+
}
|
|
17500
|
+
|
|
17501
|
+
_path_params: Dict[str, Any] = {
|
|
17502
|
+
'rid': rid,
|
|
17503
|
+
}
|
|
17504
|
+
|
|
17505
|
+
_json: Any = ConjureEncoder().default(request)
|
|
17506
|
+
|
|
17507
|
+
_path = '/scout/v1/asset/{rid}/ref-names'
|
|
17508
|
+
_path = _path.format(**_path_params)
|
|
17509
|
+
|
|
17510
|
+
_response: Response = self._request(
|
|
17511
|
+
'POST',
|
|
17512
|
+
self._uri + _path,
|
|
17513
|
+
params=_params,
|
|
17514
|
+
headers=_headers,
|
|
17515
|
+
json=_json)
|
|
17516
|
+
|
|
17517
|
+
return
|
|
17518
|
+
|
|
17457
17519
|
def create_type(self, auth_header: str, request: "scout_asset_api_CreateTypeRequest") -> "scout_asset_api_Type":
|
|
17458
17520
|
"""
|
|
17459
17521
|
Creates a new type.
|
|
@@ -44576,15 +44638,15 @@ class scout_compute_api_ValueMapSeries(ConjureBeanType):
|
|
|
44576
44638
|
return {
|
|
44577
44639
|
'input': ConjureFieldDefinition('input', scout_compute_api_NumericSeries),
|
|
44578
44640
|
'mapping': ConjureFieldDefinition('mapping', List[scout_compute_api_RangeMap]),
|
|
44579
|
-
'
|
|
44641
|
+
'default': ConjureFieldDefinition('default', OptionalTypeWrapper[scout_compute_api_StringConstant])
|
|
44580
44642
|
}
|
|
44581
44643
|
|
|
44582
|
-
__slots__: List[str] = ['_input', '_mapping', '
|
|
44644
|
+
__slots__: List[str] = ['_input', '_mapping', '_default']
|
|
44583
44645
|
|
|
44584
|
-
def __init__(self, input: "scout_compute_api_NumericSeries", mapping: List["scout_compute_api_RangeMap"],
|
|
44646
|
+
def __init__(self, input: "scout_compute_api_NumericSeries", mapping: List["scout_compute_api_RangeMap"], default: Optional["scout_compute_api_StringConstant"] = None) -> None:
|
|
44585
44647
|
self._input = input
|
|
44586
44648
|
self._mapping = mapping
|
|
44587
|
-
self.
|
|
44649
|
+
self._default = default
|
|
44588
44650
|
|
|
44589
44651
|
@builtins.property
|
|
44590
44652
|
def input(self) -> "scout_compute_api_NumericSeries":
|
|
@@ -44603,11 +44665,11 @@ The first range can be open ended to negative infinity, and the last range can b
|
|
|
44603
44665
|
return self._mapping
|
|
44604
44666
|
|
|
44605
44667
|
@builtins.property
|
|
44606
|
-
def
|
|
44668
|
+
def default(self) -> Optional["scout_compute_api_StringConstant"]:
|
|
44607
44669
|
"""
|
|
44608
|
-
The
|
|
44670
|
+
The default value if not captured by any range. If not specified, points will be filtered.
|
|
44609
44671
|
"""
|
|
44610
|
-
return self.
|
|
44672
|
+
return self._default
|
|
44611
44673
|
|
|
44612
44674
|
|
|
44613
44675
|
scout_compute_api_ValueMapSeries.__name__ = "ValueMapSeries"
|
|
@@ -53362,15 +53424,15 @@ class scout_compute_resolved_api_ValueMapSeriesNode(ConjureBeanType):
|
|
|
53362
53424
|
return {
|
|
53363
53425
|
'input': ConjureFieldDefinition('input', scout_compute_resolved_api_NumericSeriesNode),
|
|
53364
53426
|
'mapping': ConjureFieldDefinition('mapping', List[scout_compute_resolved_api_RangeMap]),
|
|
53365
|
-
'
|
|
53427
|
+
'default': ConjureFieldDefinition('default', OptionalTypeWrapper[str])
|
|
53366
53428
|
}
|
|
53367
53429
|
|
|
53368
|
-
__slots__: List[str] = ['_input', '_mapping', '
|
|
53430
|
+
__slots__: List[str] = ['_input', '_mapping', '_default']
|
|
53369
53431
|
|
|
53370
|
-
def __init__(self, input: "scout_compute_resolved_api_NumericSeriesNode", mapping: List["scout_compute_resolved_api_RangeMap"],
|
|
53432
|
+
def __init__(self, input: "scout_compute_resolved_api_NumericSeriesNode", mapping: List["scout_compute_resolved_api_RangeMap"], default: Optional[str] = None) -> None:
|
|
53371
53433
|
self._input = input
|
|
53372
53434
|
self._mapping = mapping
|
|
53373
|
-
self.
|
|
53435
|
+
self._default = default
|
|
53374
53436
|
|
|
53375
53437
|
@builtins.property
|
|
53376
53438
|
def input(self) -> "scout_compute_resolved_api_NumericSeriesNode":
|
|
@@ -53381,8 +53443,8 @@ class scout_compute_resolved_api_ValueMapSeriesNode(ConjureBeanType):
|
|
|
53381
53443
|
return self._mapping
|
|
53382
53444
|
|
|
53383
53445
|
@builtins.property
|
|
53384
|
-
def
|
|
53385
|
-
return self.
|
|
53446
|
+
def default(self) -> Optional[str]:
|
|
53447
|
+
return self._default
|
|
53386
53448
|
|
|
53387
53449
|
|
|
53388
53450
|
scout_compute_resolved_api_ValueMapSeriesNode.__name__ = "ValueMapSeriesNode"
|
|
@@ -26,6 +26,7 @@ from .._impl import (
|
|
|
26
26
|
scout_asset_api_SortField as SortField,
|
|
27
27
|
scout_asset_api_SortOptions as SortOptions,
|
|
28
28
|
scout_asset_api_Type as Type,
|
|
29
|
+
scout_asset_api_UpdateAssetRefNamesRequest as UpdateAssetRefNamesRequest,
|
|
29
30
|
scout_asset_api_UpdateAssetRequest as UpdateAssetRequest,
|
|
30
31
|
scout_asset_api_UpdateAttachmentsRequest as UpdateAttachmentsRequest,
|
|
31
32
|
scout_asset_api_UpdateOrRemoveAssetType as UpdateOrRemoveAssetType,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
|
2
|
-
nominal_api/_impl.py,sha256=
|
|
1
|
+
nominal_api/__init__.py,sha256=e5c1-h_nazOGeHm9e6nLeYivaenjmqy9_th93p_Gv10,1995
|
|
2
|
+
nominal_api/_impl.py,sha256=Mrb4_7T4ywmpF7sd8d3iRDaRvfUN8eD8DzEogXzlH1U,3091784
|
|
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
|
|
@@ -20,7 +20,7 @@ nominal_api/ingest_workflow_api/__init__.py,sha256=fbjGpZ-UK2dTfdpzKIurwLB5m24af
|
|
|
20
20
|
nominal_api/persistent_compute_api/__init__.py,sha256=ThraDBJyYB5nFrbB6FZZpDoVAmsq8GAibiK0nu63MVA,2050
|
|
21
21
|
nominal_api/scout/__init__.py,sha256=ip3XK_9jJKAoFiCifUVMTpDMiUE4mWIdGzMDu7LASus,324
|
|
22
22
|
nominal_api/scout_api/__init__.py,sha256=_yhqikk4r2QptjyRGhmcs8z3Ocjpw8rzvxqkc48HS5s,592
|
|
23
|
-
nominal_api/scout_asset_api/__init__.py,sha256=
|
|
23
|
+
nominal_api/scout_asset_api/__init__.py,sha256=aDLZP-X3Dk5jHUnctd6cguIYJ29hQR3YxQ2BQlU3FSk,1988
|
|
24
24
|
nominal_api/scout_assets/__init__.py,sha256=dT-b9HnbwVbI-fEalfskKSMGzhGRwZDZ2cdzWul1daY,87
|
|
25
25
|
nominal_api/scout_catalog/__init__.py,sha256=dZeiBEaLbhHAYaOuwhheUsLPZVJuJrh7XCX8vVIgSJQ,3110
|
|
26
26
|
nominal_api/scout_channelvariables_api/__init__.py,sha256=39HhqONasq2MWrbEXvYwap4BqpOP9Q0Mg07-J2Zenqs,762
|
|
@@ -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.645.0.dist-info/METADATA,sha256=f_sbZRRoZwuJEUkS-uLHxndAmrG-XYS0jQ1Mb-ld_1Q,199
|
|
77
|
+
nominal_api-0.645.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
78
|
+
nominal_api-0.645.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
79
|
+
nominal_api-0.645.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|