nominal-api 0.505.0__py3-none-any.whl → 0.506.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 +66 -0
- {nominal_api-0.505.0.dist-info → nominal_api-0.506.0.dist-info}/METADATA +1 -1
- {nominal_api-0.505.0.dist-info → nominal_api-0.506.0.dist-info}/RECORD +6 -6
- {nominal_api-0.505.0.dist-info → nominal_api-0.506.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.505.0.dist-info → nominal_api-0.506.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
@@ -45690,6 +45690,9 @@ then none of the actions will be applied.
|
|
45690
45690
|
return _decoder.decode(_response.json(), scout_datareview_api_ManualCheckEvaluationActionLog, self._return_none_for_unknown_union_types)
|
45691
45691
|
|
45692
45692
|
def archive_data_review(self, auth_header: str, data_review_rid: str) -> bool:
|
45693
|
+
"""
|
45694
|
+
Archives the data review with the given rid.
|
45695
|
+
"""
|
45693
45696
|
|
45694
45697
|
_headers: Dict[str, Any] = {
|
45695
45698
|
'Accept': 'application/json',
|
@@ -45718,6 +45721,69 @@ then none of the actions will be applied.
|
|
45718
45721
|
_decoder = ConjureDecoder()
|
45719
45722
|
return _decoder.decode(_response.json(), bool, self._return_none_for_unknown_union_types)
|
45720
45723
|
|
45724
|
+
def batch_archive_data_review(self, auth_header: str, rids: List[str] = None) -> None:
|
45725
|
+
"""
|
45726
|
+
Batch archives the data reviews with the given rids.
|
45727
|
+
"""
|
45728
|
+
rids = rids if rids is not None else []
|
45729
|
+
|
45730
|
+
_headers: Dict[str, Any] = {
|
45731
|
+
'Accept': 'application/json',
|
45732
|
+
'Content-Type': 'application/json',
|
45733
|
+
'Authorization': auth_header,
|
45734
|
+
}
|
45735
|
+
|
45736
|
+
_params: Dict[str, Any] = {
|
45737
|
+
}
|
45738
|
+
|
45739
|
+
_path_params: Dict[str, Any] = {
|
45740
|
+
}
|
45741
|
+
|
45742
|
+
_json: Any = ConjureEncoder().default(rids)
|
45743
|
+
|
45744
|
+
_path = '/scout/v2/data-review/batch-archive'
|
45745
|
+
_path = _path.format(**_path_params)
|
45746
|
+
|
45747
|
+
_response: Response = self._request(
|
45748
|
+
'POST',
|
45749
|
+
self._uri + _path,
|
45750
|
+
params=_params,
|
45751
|
+
headers=_headers,
|
45752
|
+
json=_json)
|
45753
|
+
|
45754
|
+
return
|
45755
|
+
|
45756
|
+
def unarchive_data_review(self, auth_header: str, data_review_rid: str) -> None:
|
45757
|
+
"""
|
45758
|
+
Unarchives the data review with the given rid.
|
45759
|
+
"""
|
45760
|
+
|
45761
|
+
_headers: Dict[str, Any] = {
|
45762
|
+
'Accept': 'application/json',
|
45763
|
+
'Authorization': auth_header,
|
45764
|
+
}
|
45765
|
+
|
45766
|
+
_params: Dict[str, Any] = {
|
45767
|
+
}
|
45768
|
+
|
45769
|
+
_path_params: Dict[str, Any] = {
|
45770
|
+
'dataReviewRid': data_review_rid,
|
45771
|
+
}
|
45772
|
+
|
45773
|
+
_json: Any = None
|
45774
|
+
|
45775
|
+
_path = '/scout/v2/data-review/unarchive/{dataReviewRid}'
|
45776
|
+
_path = _path.format(**_path_params)
|
45777
|
+
|
45778
|
+
_response: Response = self._request(
|
45779
|
+
'POST',
|
45780
|
+
self._uri + _path,
|
45781
|
+
params=_params,
|
45782
|
+
headers=_headers,
|
45783
|
+
json=_json)
|
45784
|
+
|
45785
|
+
return
|
45786
|
+
|
45721
45787
|
|
45722
45788
|
scout_datareview_api_DataReviewService.__name__ = "DataReviewService"
|
45723
45789
|
scout_datareview_api_DataReviewService.__qualname__ = "DataReviewService"
|
@@ -1,5 +1,5 @@
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
2
|
-
nominal_api/_impl.py,sha256=
|
1
|
+
nominal_api/__init__.py,sha256=oFziWdz3SDOwvu0Vq6YLqnBI_DSb_DDNWlzLuoJ80Y4,1744
|
2
|
+
nominal_api/_impl.py,sha256=AQ-EF2kHw-52vABO8UpRIgA-oKD57ZIhXwaUvUpOWFk,2524789
|
3
3
|
nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
4
4
|
nominal_api/api/__init__.py,sha256=CaUmWhW0zcP8jVWFQEgj-lpoBi-Unm0wBd2s9dPeWmo,656
|
5
5
|
nominal_api/api_rids/__init__.py,sha256=p7dKiMV692oGtYStr5FZJEJNg3YbF7scJK1WFMpBiW0,298
|
@@ -64,7 +64,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=wr83ByQTVVPOGvbB_KWL
|
|
64
64
|
nominal_api/timeseries_seriescache/__init__.py,sha256=tFCkNuyrVMgtj-HIl1pOYPJHaL2VikI4C_x97bX_Lcs,109
|
65
65
|
nominal_api/timeseries_seriescache_api/__init__.py,sha256=YLixotb-W-adYR6t_RBsJDwoHttppkOBesoaXERwhVs,1240
|
66
66
|
nominal_api/upload_api/__init__.py,sha256=ZMudWMSqCrNozohbHaJKuxJnT9Edepe7nxxXMz_pT9k,87
|
67
|
-
nominal_api-0.
|
68
|
-
nominal_api-0.
|
69
|
-
nominal_api-0.
|
70
|
-
nominal_api-0.
|
67
|
+
nominal_api-0.506.0.dist-info/METADATA,sha256=kfGxz-tznjhZ10NeqReqthjLP867JsIj41htzTzSnpQ,199
|
68
|
+
nominal_api-0.506.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
69
|
+
nominal_api-0.506.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
70
|
+
nominal_api-0.506.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|