nominal-api 0.601.0__py3-none-any.whl → 0.602.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 CHANGED
@@ -75,5 +75,5 @@ __all__ = [
75
75
 
76
76
  __conjure_generator_version__ = "4.9.0"
77
77
 
78
- __version__ = "0.601.0"
78
+ __version__ = "0.602.0"
79
79
 
nominal_api/_impl.py CHANGED
@@ -23020,13 +23020,15 @@ class scout_checklistexecution_api_ListStreamingChecklistRequest(ConjureBeanType
23020
23020
  def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
23021
23021
  return {
23022
23022
  'page_size': ConjureFieldDefinition('pageSize', OptionalTypeWrapper[int]),
23023
+ 'workspace_ids': ConjureFieldDefinition('workspaceIds', List[api_ids_WorkspaceId]),
23023
23024
  'page_token': ConjureFieldDefinition('pageToken', OptionalTypeWrapper[str])
23024
23025
  }
23025
23026
 
23026
- __slots__: List[str] = ['_page_size', '_page_token']
23027
+ __slots__: List[str] = ['_page_size', '_workspace_ids', '_page_token']
23027
23028
 
23028
- def __init__(self, page_size: Optional[int] = None, page_token: Optional[str] = None) -> None:
23029
+ def __init__(self, workspace_ids: List[str], page_size: Optional[int] = None, page_token: Optional[str] = None) -> None:
23029
23030
  self._page_size = page_size
23031
+ self._workspace_ids = workspace_ids
23030
23032
  self._page_token = page_token
23031
23033
 
23032
23034
  @builtins.property
@@ -23036,6 +23038,10 @@ class scout_checklistexecution_api_ListStreamingChecklistRequest(ConjureBeanType
23036
23038
  """
23037
23039
  return self._page_size
23038
23040
 
23041
+ @builtins.property
23042
+ def workspace_ids(self) -> List[str]:
23043
+ return self._workspace_ids
23044
+
23039
23045
  @builtins.property
23040
23046
  def page_token(self) -> Optional[str]:
23041
23047
  return self._page_token
@@ -51521,7 +51527,7 @@ the automatic checks against the run.
51521
51527
 
51522
51528
  def get_check_alerts_histogram(self, auth_header: str, request: "scout_datareview_api_CheckAlertsHistogramRequest") -> "scout_datareview_api_CheckAlertsHistogramResponse":
51523
51529
  """
51524
- Returns a histogram of alerts that occur across the provided runs.
51530
+ Returns a histogram of alerts that occur across the provided runs or assets. At least one run or asset must be specified.
51525
51531
  """
51526
51532
 
51527
51533
  _headers: Dict[str, Any] = {
@@ -51553,7 +51559,7 @@ the automatic checks against the run.
51553
51559
 
51554
51560
  def search_check_alerts(self, auth_header: str, request: "scout_datareview_api_SearchCheckAlertsRequest") -> "scout_datareview_api_SearchCheckAlertsResponse":
51555
51561
  """
51556
- Returns the check alerts under the provided search parameters.
51562
+ Returns the check alerts under the provided search parameters. At least one run or asset must be specified.
51557
51563
  """
51558
51564
 
51559
51565
  _headers: Dict[str, Any] = {
@@ -58269,9 +58275,9 @@ scout_internal_search_api_TimestampField.__qualname__ = "TimestampField"
58269
58275
  scout_internal_search_api_TimestampField.__module__ = "nominal_api.scout_internal_search_api"
58270
58276
 
58271
58277
 
58272
- class scout_jobs_api_JobService(Service):
58278
+ class scout_jobs_api_InternalJobService(Service):
58273
58279
  """
58274
- The Job Service is responsible for running jobs for checklist executions.
58280
+ The Internal Job Service is responsible for running jobs for checklist executions.
58275
58281
  """
58276
58282
 
58277
58283
  def submit_jobs(self, auth_header: str, request: "scout_checks_api_SubmitJobsRequest") -> "scout_checks_api_SubmitJobsResponse":
@@ -58293,7 +58299,7 @@ class scout_jobs_api_JobService(Service):
58293
58299
 
58294
58300
  _json: Any = ConjureEncoder().default(request)
58295
58301
 
58296
- _path = '/jobs/v1/submitJobs'
58302
+ _path = '/internal/jobs/v1/submitJobs'
58297
58303
  _path = _path.format(**_path_params)
58298
58304
 
58299
58305
  _response: Response = self._request(
@@ -58306,6 +58312,17 @@ class scout_jobs_api_JobService(Service):
58306
58312
  _decoder = ConjureDecoder()
58307
58313
  return _decoder.decode(_response.json(), scout_checks_api_SubmitJobsResponse, self._return_none_for_unknown_union_types)
58308
58314
 
58315
+
58316
+ scout_jobs_api_InternalJobService.__name__ = "InternalJobService"
58317
+ scout_jobs_api_InternalJobService.__qualname__ = "InternalJobService"
58318
+ scout_jobs_api_InternalJobService.__module__ = "nominal_api.scout_jobs_api"
58319
+
58320
+
58321
+ class scout_jobs_api_JobService(Service):
58322
+ """
58323
+ The Job Service is responsible for returning information about jobs for checklist executions.
58324
+ """
58325
+
58309
58326
  def get_job_report(self, auth_header: str, job_rid: str) -> "scout_checks_api_JobReport":
58310
58327
  """
58311
58328
  Fetches the job report for a job RID. Throws ResourcesNotFound if no job exists with this job RID.
@@ -1,5 +1,6 @@
1
1
  # coding=utf-8
2
2
  from .._impl import (
3
+ scout_jobs_api_InternalJobService as InternalJobService,
3
4
  scout_jobs_api_JobService as JobService,
4
5
  )
5
6
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nominal-api
3
- Version: 0.601.0
3
+ Version: 0.602.0
4
4
  Requires-Python: >=3.8
5
5
  Requires-Dist: requests
6
6
  Requires-Dist: conjure-python-client<3,>=2.8.0
@@ -1,5 +1,5 @@
1
- nominal_api/__init__.py,sha256=DIzHMZVDho2HAWuWwQkECCujRqjmD1UfU1ENaFeRU6s,1968
2
- nominal_api/_impl.py,sha256=zEA36riA4DIjAoVET03tScizE8bhuUTchFiDqIgrXu4,2886959
1
+ nominal_api/__init__.py,sha256=Mw_c0LOstyIhufvz-ac9kFOtqE_l9N0AVRtQ5zHXo60,1968
2
+ nominal_api/_impl.py,sha256=kqtOVzfjkY9gAesWyzBVVh6m81Qcn45_1qWo3WFNfFk,2887742
3
3
  nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
4
4
  nominal_api/api/__init__.py,sha256=kJBEE_HLVpKYdLH12KyO-cSAVzwxYpBwaaDutCtT-LM,1236
5
5
  nominal_api/api_ids/__init__.py,sha256=CAtt44XgNZEEUDv-BbEbYtuxQ8y1wqSZU-STjBYdZv8,80
@@ -43,7 +43,7 @@ nominal_api/scout_favorites/__init__.py,sha256=qiOvaWVVl3O7tXZIq_NrCWFcMx-Q-H5sA
43
43
  nominal_api/scout_favorites_api/__init__.py,sha256=mS8Qqaf8Cwl_wTvllegV4ttIWL4uot2VmsK57AbSXk0,524
44
44
  nominal_api/scout_integrations_api/__init__.py,sha256=8iXeDLEbgMYEZz0dEZsvUj7v9JkuaaTdxkzS-ld8E0U,1432
45
45
  nominal_api/scout_internal_search_api/__init__.py,sha256=CF2YYZXkl95YkEgCbhqXSdAQ4ayPDDOJiCcyoFKOaA8,520
46
- nominal_api/scout_jobs_api/__init__.py,sha256=nUQGFB_81AimGm1X0atHV4XXjd5WpY6d9SOCrj_BgUQ,85
46
+ nominal_api/scout_jobs_api/__init__.py,sha256=_2ETRUShk1pestGAKzHwc69S-ililQRD4Y9JLD5qqZ4,146
47
47
  nominal_api/scout_layout_api/__init__.py,sha256=mKszV44ni9VODK9jFyY3O9YOV9DYltKJ20s91922EKc,1363
48
48
  nominal_api/scout_metadata/__init__.py,sha256=GIhWKJL2XSMB0iGaKfcGgmPHuvGWWmkK4lXSa1YsB44,332
49
49
  nominal_api/scout_notebook_api/__init__.py,sha256=QW0vg8ZrAmuctjnNLxTnqtwyQoX-H9MOkHlLWioe5AA,1230
@@ -72,7 +72,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=Q9iZHurmyDsJIFbUg-Eb
72
72
  nominal_api/timeseries_seriescache/__init__.py,sha256=tFCkNuyrVMgtj-HIl1pOYPJHaL2VikI4C_x97bX_Lcs,109
73
73
  nominal_api/timeseries_seriescache_api/__init__.py,sha256=U9EhlqdF9qzD1O9al0vcvcdgS_C5lq-lN3Kmr0K3g84,1191
74
74
  nominal_api/upload_api/__init__.py,sha256=ZMudWMSqCrNozohbHaJKuxJnT9Edepe7nxxXMz_pT9k,87
75
- nominal_api-0.601.0.dist-info/METADATA,sha256=7acm07N950D-UwqmSGDJqF17jVJZgmK8joR_1hT1jM8,199
76
- nominal_api-0.601.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
77
- nominal_api-0.601.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
78
- nominal_api-0.601.0.dist-info/RECORD,,
75
+ nominal_api-0.602.0.dist-info/METADATA,sha256=ZzFc-3CcCl8ij-71yUytmhafyH-F5YETQ3oKtej-YlI,199
76
+ nominal_api-0.602.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
77
+ nominal_api-0.602.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
78
+ nominal_api-0.602.0.dist-info/RECORD,,