nominal-api 0.850.0__py3-none-any.whl → 0.851.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.
- nominal_api/__init__.py +1 -1
- nominal_api/_impl.py +32 -0
- {nominal_api-0.850.0.dist-info → nominal_api-0.851.0.dist-info}/METADATA +1 -1
- {nominal_api-0.850.0.dist-info → nominal_api-0.851.0.dist-info}/RECORD +6 -6
- {nominal_api-0.850.0.dist-info → nominal_api-0.851.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.850.0.dist-info → nominal_api-0.851.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
@@ -24554,6 +24554,38 @@ dataset can still be directly accessed by its UUID/rid.
|
|
24554
24554
|
_decoder = ConjureDecoder()
|
24555
24555
|
return _decoder.decode(_response.json(), scout_catalog_AllPropertiesAndLabelsResponse, self._return_none_for_unknown_union_types)
|
24556
24556
|
|
24557
|
+
def get_log_dataset_for_workspace(self, auth_header: str, workspace_rid: str) -> Optional[str]:
|
24558
|
+
"""Returns the log dataset RID for the specified workspace if configured and accessible to the caller.
|
24559
|
+
"""
|
24560
|
+
_conjure_encoder = ConjureEncoder()
|
24561
|
+
|
24562
|
+
_headers: Dict[str, Any] = {
|
24563
|
+
'Accept': 'application/json',
|
24564
|
+
'Authorization': auth_header,
|
24565
|
+
}
|
24566
|
+
|
24567
|
+
_params: Dict[str, Any] = {
|
24568
|
+
}
|
24569
|
+
|
24570
|
+
_path_params: Dict[str, str] = {
|
24571
|
+
'workspaceRid': quote(str(_conjure_encoder.default(workspace_rid)), safe=''),
|
24572
|
+
}
|
24573
|
+
|
24574
|
+
_json: Any = None
|
24575
|
+
|
24576
|
+
_path = '/catalog/v1/workspaces/{workspaceRid}/log-dataset'
|
24577
|
+
_path = _path.format(**_path_params)
|
24578
|
+
|
24579
|
+
_response: Response = self._request(
|
24580
|
+
'GET',
|
24581
|
+
self._uri + _path,
|
24582
|
+
params=_params,
|
24583
|
+
headers=_headers,
|
24584
|
+
json=_json)
|
24585
|
+
|
24586
|
+
_decoder = ConjureDecoder()
|
24587
|
+
return None if _response.status_code == 204 else _decoder.decode(_response.json(), OptionalTypeWrapper[api_rids_DatasetRid], self._return_none_for_unknown_union_types)
|
24588
|
+
|
24557
24589
|
|
24558
24590
|
scout_catalog_CatalogService.__name__ = "CatalogService"
|
24559
24591
|
scout_catalog_CatalogService.__qualname__ = "CatalogService"
|
@@ -1,5 +1,5 @@
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
2
|
-
nominal_api/_impl.py,sha256=
|
1
|
+
nominal_api/__init__.py,sha256=spY9qlBJIoRQF-L7btlyCRtXRgiwy2xTPNnFszS8328,2064
|
2
|
+
nominal_api/_impl.py,sha256=9UC8pZBYlAru1NMVdnsxYqqNvCkV7T98hlLolL5u_mI,3687225
|
3
3
|
nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
4
4
|
nominal_api/api/__init__.py,sha256=ZiGjcYwIBCrZR5pPqyqX2ggRJmVcSlOCazMtF2xCZzw,2171
|
5
5
|
nominal_api/api_ids/__init__.py,sha256=sxqN5dMk6bOx0SKOd0ANG3_kmx1VtdSVotzEGn_q6sE,114
|
@@ -77,7 +77,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=BwdqHLq_98LOsRV14JA3
|
|
77
77
|
nominal_api/timeseries_seriescache/__init__.py,sha256=hL5hN8jKLEGE_fDiZzdASmWIrRjU6tncpmDeuc_47P4,150
|
78
78
|
nominal_api/timeseries_seriescache_api/__init__.py,sha256=USBxFmNnVFdnhTPLvWi3UgsvBZ4Iz4ycNgBTi10F-zI,1603
|
79
79
|
nominal_api/upload_api/__init__.py,sha256=7-XXuZUqKPV4AMWvxNpZPZ5vBun4x-AomXj3Vol_BN4,123
|
80
|
-
nominal_api-0.
|
81
|
-
nominal_api-0.
|
82
|
-
nominal_api-0.
|
83
|
-
nominal_api-0.
|
80
|
+
nominal_api-0.851.0.dist-info/METADATA,sha256=EbQwEqtPmP6j7gjps9bg6Wkyxo26G3O5m9llG0W7mJ8,199
|
81
|
+
nominal_api-0.851.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
82
|
+
nominal_api-0.851.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
83
|
+
nominal_api-0.851.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|