nominal-api 0.761.0__py3-none-any.whl → 0.762.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 +18 -4
- {nominal_api-0.761.0.dist-info → nominal_api-0.762.0.dist-info}/METADATA +1 -1
- {nominal_api-0.761.0.dist-info → nominal_api-0.762.0.dist-info}/RECORD +6 -6
- {nominal_api-0.761.0.dist-info → nominal_api-0.762.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.761.0.dist-info → nominal_api-0.762.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -18509,7 +18509,7 @@ includes metrics for check and violation review status.
|
|
|
18509
18509
|
_decoder = ConjureDecoder()
|
|
18510
18510
|
return _decoder.decode(_response.json(), scout_run_api_SearchRunsWithDataReviewSummaryResponse, self._return_none_for_unknown_union_types)
|
|
18511
18511
|
|
|
18512
|
-
def archive_run(self, auth_header: str, rid: str) -> bool:
|
|
18512
|
+
def archive_run(self, auth_header: str, rid: str, include_linked_workbooks: Optional[bool] = None) -> bool:
|
|
18513
18513
|
"""Soft-deletes a run. Runs still exist in the database but are no longer visible.
|
|
18514
18514
|
"""
|
|
18515
18515
|
_conjure_encoder = ConjureEncoder()
|
|
@@ -18520,6 +18520,7 @@ includes metrics for check and violation review status.
|
|
|
18520
18520
|
}
|
|
18521
18521
|
|
|
18522
18522
|
_params: Dict[str, Any] = {
|
|
18523
|
+
'includeLinkedWorkbooks': _conjure_encoder.default(include_linked_workbooks),
|
|
18523
18524
|
}
|
|
18524
18525
|
|
|
18525
18526
|
_path_params: Dict[str, str] = {
|
|
@@ -18541,7 +18542,7 @@ includes metrics for check and violation review status.
|
|
|
18541
18542
|
_decoder = ConjureDecoder()
|
|
18542
18543
|
return _decoder.decode(_response.json(), bool, self._return_none_for_unknown_union_types)
|
|
18543
18544
|
|
|
18544
|
-
def unarchive_run(self, auth_header: str, rid: str) -> bool:
|
|
18545
|
+
def unarchive_run(self, auth_header: str, rid: str, include_linked_workbooks: Optional[bool] = None) -> bool:
|
|
18545
18546
|
_conjure_encoder = ConjureEncoder()
|
|
18546
18547
|
|
|
18547
18548
|
_headers: Dict[str, Any] = {
|
|
@@ -18550,6 +18551,7 @@ includes metrics for check and violation review status.
|
|
|
18550
18551
|
}
|
|
18551
18552
|
|
|
18552
18553
|
_params: Dict[str, Any] = {
|
|
18554
|
+
'includeLinkedWorkbooks': _conjure_encoder.default(include_linked_workbooks),
|
|
18553
18555
|
}
|
|
18554
18556
|
|
|
18555
18557
|
_path_params: Dict[str, str] = {
|
|
@@ -62871,6 +62873,7 @@ If commitId is omitted from a ChecklistRef, it will match all commits.
|
|
|
62871
62873
|
return {
|
|
62872
62874
|
'run_rids': ConjureFieldDefinition('runRids', List[scout_run_api_RunRid]),
|
|
62873
62875
|
'asset_rids': ConjureFieldDefinition('assetRids', List[scout_rids_api_AssetRid]),
|
|
62876
|
+
'filter_by_both_runs_and_assets': ConjureFieldDefinition('filterByBothRunsAndAssets', OptionalTypeWrapper[bool]),
|
|
62874
62877
|
'checklist_refs': ConjureFieldDefinition('checklistRefs', List[scout_checks_api_ChecklistRef]),
|
|
62875
62878
|
'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[api_Token]),
|
|
62876
62879
|
'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int]),
|
|
@@ -62878,11 +62881,12 @@ If commitId is omitted from a ChecklistRef, it will match all commits.
|
|
|
62878
62881
|
'archived_statuses': ConjureFieldDefinition('archivedStatuses', OptionalTypeWrapper[List[api_ArchivedStatus]])
|
|
62879
62882
|
}
|
|
62880
62883
|
|
|
62881
|
-
__slots__: List[str] = ['_run_rids', '_asset_rids', '_checklist_refs', '_next_page_token', '_page_size', '_show_archived', '_archived_statuses']
|
|
62884
|
+
__slots__: List[str] = ['_run_rids', '_asset_rids', '_filter_by_both_runs_and_assets', '_checklist_refs', '_next_page_token', '_page_size', '_show_archived', '_archived_statuses']
|
|
62882
62885
|
|
|
62883
|
-
def __init__(self, asset_rids: List[str], checklist_refs: List["scout_checks_api_ChecklistRef"], run_rids: List[str], archived_statuses: Optional[List["api_ArchivedStatus"]] = None, next_page_token: Optional[str] = None, page_size: Optional[int] = None, show_archived: Optional[bool] = None) -> None:
|
|
62886
|
+
def __init__(self, asset_rids: List[str], checklist_refs: List["scout_checks_api_ChecklistRef"], run_rids: List[str], archived_statuses: Optional[List["api_ArchivedStatus"]] = None, filter_by_both_runs_and_assets: Optional[bool] = None, next_page_token: Optional[str] = None, page_size: Optional[int] = None, show_archived: Optional[bool] = None) -> None:
|
|
62884
62887
|
self._run_rids = run_rids
|
|
62885
62888
|
self._asset_rids = asset_rids
|
|
62889
|
+
self._filter_by_both_runs_and_assets = filter_by_both_runs_and_assets
|
|
62886
62890
|
self._checklist_refs = checklist_refs
|
|
62887
62891
|
self._next_page_token = next_page_token
|
|
62888
62892
|
self._page_size = page_size
|
|
@@ -62897,6 +62901,16 @@ If commitId is omitted from a ChecklistRef, it will match all commits.
|
|
|
62897
62901
|
def asset_rids(self) -> List[str]:
|
|
62898
62902
|
return self._asset_rids
|
|
62899
62903
|
|
|
62904
|
+
@builtins.property
|
|
62905
|
+
def filter_by_both_runs_and_assets(self) -> Optional[bool]:
|
|
62906
|
+
"""If true, results are filtered to data reviews w/ both run and asset in the requested runs/assets.
|
|
62907
|
+
Defaults to false, where assets are converted to runs and all data reviews under the linked runs
|
|
62908
|
+
(including data reviews on other assets sharing the parent run) will be returned.
|
|
62909
|
+
It is recommended to set this to true and pass in asset RIDs for multi-asset runs.
|
|
62910
|
+
Toggling this option has no effect if no asset RIDs are supplied.
|
|
62911
|
+
"""
|
|
62912
|
+
return self._filter_by_both_runs_and_assets
|
|
62913
|
+
|
|
62900
62914
|
@builtins.property
|
|
62901
62915
|
def checklist_refs(self) -> List["scout_checks_api_ChecklistRef"]:
|
|
62902
62916
|
return self._checklist_refs
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
|
2
|
-
nominal_api/_impl.py,sha256=
|
|
1
|
+
nominal_api/__init__.py,sha256=0o_JhWddWc03t3Zu1Ut2FUQTQz2-UY9nGkHXAoasFME,2012
|
|
2
|
+
nominal_api/_impl.py,sha256=iNAooHWmaDKu1wPXV-RT6nKVDnKoluMU26tszMr6WT0,3407590
|
|
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
|
|
@@ -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.
|
|
79
|
-
nominal_api-0.
|
|
80
|
-
nominal_api-0.
|
|
81
|
-
nominal_api-0.
|
|
78
|
+
nominal_api-0.762.0.dist-info/METADATA,sha256=ljEwbHL8pyjisTmy4sUEsopmez36oSG-kMt9FK7-1qs,199
|
|
79
|
+
nominal_api-0.762.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
80
|
+
nominal_api-0.762.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
81
|
+
nominal_api-0.762.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|