nominal-api 0.683.0__py3-none-any.whl → 0.684.1__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 +51 -14
- nominal_api/scout_integrations_api/__init__.py +1 -0
- {nominal_api-0.683.0.dist-info → nominal_api-0.684.1.dist-info}/METADATA +1 -1
- {nominal_api-0.683.0.dist-info → nominal_api-0.684.1.dist-info}/RECORD +7 -7
- {nominal_api-0.683.0.dist-info → nominal_api-0.684.1.dist-info}/WHEEL +0 -0
- {nominal_api-0.683.0.dist-info → nominal_api-0.684.1.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -12598,18 +12598,24 @@ class ingest_workflow_api_GetExtractorJobStateResponse(ConjureBeanType):
|
|
|
12598
12598
|
@builtins.classmethod
|
|
12599
12599
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
12600
12600
|
return {
|
|
12601
|
-
'state': ConjureFieldDefinition('state', ingest_workflow_api_ExtractorJobState)
|
|
12601
|
+
'state': ConjureFieldDefinition('state', ingest_workflow_api_ExtractorJobState),
|
|
12602
|
+
'message': ConjureFieldDefinition('message', OptionalTypeWrapper[str])
|
|
12602
12603
|
}
|
|
12603
12604
|
|
|
12604
|
-
__slots__: List[str] = ['_state']
|
|
12605
|
+
__slots__: List[str] = ['_state', '_message']
|
|
12605
12606
|
|
|
12606
|
-
def __init__(self, state: "ingest_workflow_api_ExtractorJobState") -> None:
|
|
12607
|
+
def __init__(self, state: "ingest_workflow_api_ExtractorJobState", message: Optional[str] = None) -> None:
|
|
12607
12608
|
self._state = state
|
|
12609
|
+
self._message = message
|
|
12608
12610
|
|
|
12609
12611
|
@builtins.property
|
|
12610
12612
|
def state(self) -> "ingest_workflow_api_ExtractorJobState":
|
|
12611
12613
|
return self._state
|
|
12612
12614
|
|
|
12615
|
+
@builtins.property
|
|
12616
|
+
def message(self) -> Optional[str]:
|
|
12617
|
+
return self._message
|
|
12618
|
+
|
|
12613
12619
|
|
|
12614
12620
|
ingest_workflow_api_GetExtractorJobStateResponse.__name__ = "GetExtractorJobStateResponse"
|
|
12615
12621
|
ingest_workflow_api_GetExtractorJobStateResponse.__qualname__ = "GetExtractorJobStateResponse"
|
|
@@ -25206,7 +25212,7 @@ class scout_chartdefinition_api_TimeSeriesChartDefinitionV1(ConjureBeanType):
|
|
|
25206
25212
|
return {
|
|
25207
25213
|
'rows': ConjureFieldDefinition('rows', List[scout_chartdefinition_api_TimeSeriesRow]),
|
|
25208
25214
|
'comparison_run_groups': ConjureFieldDefinition('comparisonRunGroups', List[scout_comparisonrun_api_ComparisonRunGroup]),
|
|
25209
|
-
'events': ConjureFieldDefinition('events', List[scout_chartdefinition_api_Event]),
|
|
25215
|
+
'events': ConjureFieldDefinition('events', OptionalTypeWrapper[List[scout_chartdefinition_api_Event]]),
|
|
25210
25216
|
'title': ConjureFieldDefinition('title', OptionalTypeWrapper[str]),
|
|
25211
25217
|
'value_axes': ConjureFieldDefinition('valueAxes', List[scout_chartdefinition_api_ValueAxis]),
|
|
25212
25218
|
'thresholds': ConjureFieldDefinition('thresholds', OptionalTypeWrapper[List[scout_chartdefinition_api_AxisThresholdVisualization]])
|
|
@@ -25214,7 +25220,7 @@ class scout_chartdefinition_api_TimeSeriesChartDefinitionV1(ConjureBeanType):
|
|
|
25214
25220
|
|
|
25215
25221
|
__slots__: List[str] = ['_rows', '_comparison_run_groups', '_events', '_title', '_value_axes', '_thresholds']
|
|
25216
25222
|
|
|
25217
|
-
def __init__(self, comparison_run_groups: List["scout_comparisonrun_api_ComparisonRunGroup"],
|
|
25223
|
+
def __init__(self, comparison_run_groups: List["scout_comparisonrun_api_ComparisonRunGroup"], rows: List["scout_chartdefinition_api_TimeSeriesRow"], value_axes: List["scout_chartdefinition_api_ValueAxis"], events: Optional[List["scout_chartdefinition_api_Event"]] = None, thresholds: Optional[List["scout_chartdefinition_api_AxisThresholdVisualization"]] = None, title: Optional[str] = None) -> None:
|
|
25218
25224
|
self._rows = rows
|
|
25219
25225
|
self._comparison_run_groups = comparison_run_groups
|
|
25220
25226
|
self._events = events
|
|
@@ -25231,7 +25237,7 @@ class scout_chartdefinition_api_TimeSeriesChartDefinitionV1(ConjureBeanType):
|
|
|
25231
25237
|
return self._comparison_run_groups
|
|
25232
25238
|
|
|
25233
25239
|
@builtins.property
|
|
25234
|
-
def events(self) -> List["scout_chartdefinition_api_Event"]:
|
|
25240
|
+
def events(self) -> Optional[List["scout_chartdefinition_api_Event"]]:
|
|
25235
25241
|
return self._events
|
|
25236
25242
|
|
|
25237
25243
|
@builtins.property
|
|
@@ -63598,7 +63604,7 @@ class scout_integrations_api_IntegrationsService(Service):
|
|
|
63598
63604
|
Service for managing integrations with external services.
|
|
63599
63605
|
"""
|
|
63600
63606
|
|
|
63601
|
-
def generate_slack_webhook_link(self, auth_header: str, workspace: Optional[str] = None) -> "scout_integrations_api_GenerateSlackWebhookResponse":
|
|
63607
|
+
def generate_slack_webhook_link(self, auth_header: str, is_gov_slack: Optional[bool] = None, workspace: Optional[str] = None) -> "scout_integrations_api_GenerateSlackWebhookResponse":
|
|
63602
63608
|
"""
|
|
63603
63609
|
Generates link to request permissions for Slack bot to join workspaces and use a webhook.
|
|
63604
63610
|
"""
|
|
@@ -63610,6 +63616,7 @@ class scout_integrations_api_IntegrationsService(Service):
|
|
|
63610
63616
|
|
|
63611
63617
|
_params: Dict[str, Any] = {
|
|
63612
63618
|
'workspace': workspace,
|
|
63619
|
+
'isGovSlack': is_gov_slack,
|
|
63613
63620
|
}
|
|
63614
63621
|
|
|
63615
63622
|
_path_params: Dict[str, Any] = {
|
|
@@ -63869,14 +63876,16 @@ class scout_integrations_api_NotificationConfiguration(ConjureBeanType):
|
|
|
63869
63876
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
63870
63877
|
return {
|
|
63871
63878
|
'integration_rid': ConjureFieldDefinition('integrationRid', scout_integrations_api_IntegrationRid),
|
|
63879
|
+
'notification_filters': ConjureFieldDefinition('notificationFilters', OptionalTypeWrapper[List[scout_integrations_api_NotificationFilter]]),
|
|
63872
63880
|
'appended_workbook_rid': ConjureFieldDefinition('appendedWorkbookRid', OptionalTypeWrapper[scout_rids_api_NotebookRid]),
|
|
63873
63881
|
'tags': ConjureFieldDefinition('tags', List[str])
|
|
63874
63882
|
}
|
|
63875
63883
|
|
|
63876
|
-
__slots__: List[str] = ['_integration_rid', '_appended_workbook_rid', '_tags']
|
|
63884
|
+
__slots__: List[str] = ['_integration_rid', '_notification_filters', '_appended_workbook_rid', '_tags']
|
|
63877
63885
|
|
|
63878
|
-
def __init__(self, integration_rid: str, tags: List[str], appended_workbook_rid: Optional[str] = None) -> None:
|
|
63886
|
+
def __init__(self, integration_rid: str, tags: List[str], appended_workbook_rid: Optional[str] = None, notification_filters: Optional[List["scout_integrations_api_NotificationFilter"]] = None) -> None:
|
|
63879
63887
|
self._integration_rid = integration_rid
|
|
63888
|
+
self._notification_filters = notification_filters
|
|
63880
63889
|
self._appended_workbook_rid = appended_workbook_rid
|
|
63881
63890
|
self._tags = tags
|
|
63882
63891
|
|
|
@@ -63884,6 +63893,13 @@ class scout_integrations_api_NotificationConfiguration(ConjureBeanType):
|
|
|
63884
63893
|
def integration_rid(self) -> str:
|
|
63885
63894
|
return self._integration_rid
|
|
63886
63895
|
|
|
63896
|
+
@builtins.property
|
|
63897
|
+
def notification_filters(self) -> Optional[List["scout_integrations_api_NotificationFilter"]]:
|
|
63898
|
+
"""
|
|
63899
|
+
Specifies the type of notifications to filter. If not provided, all notifications are sent.
|
|
63900
|
+
"""
|
|
63901
|
+
return self._notification_filters
|
|
63902
|
+
|
|
63887
63903
|
@builtins.property
|
|
63888
63904
|
def appended_workbook_rid(self) -> Optional[str]:
|
|
63889
63905
|
"""
|
|
@@ -63904,6 +63920,25 @@ scout_integrations_api_NotificationConfiguration.__qualname__ = "NotificationCon
|
|
|
63904
63920
|
scout_integrations_api_NotificationConfiguration.__module__ = "nominal_api.scout_integrations_api"
|
|
63905
63921
|
|
|
63906
63922
|
|
|
63923
|
+
class scout_integrations_api_NotificationFilter(ConjureEnumType):
|
|
63924
|
+
"""
|
|
63925
|
+
Specifies a type of notification to filter.
|
|
63926
|
+
"""
|
|
63927
|
+
|
|
63928
|
+
EXECUTION_ERROR = 'EXECUTION_ERROR'
|
|
63929
|
+
'''EXECUTION_ERROR'''
|
|
63930
|
+
UNKNOWN = 'UNKNOWN'
|
|
63931
|
+
'''UNKNOWN'''
|
|
63932
|
+
|
|
63933
|
+
def __reduce_ex__(self, proto):
|
|
63934
|
+
return self.__class__, (self.name,)
|
|
63935
|
+
|
|
63936
|
+
|
|
63937
|
+
scout_integrations_api_NotificationFilter.__name__ = "NotificationFilter"
|
|
63938
|
+
scout_integrations_api_NotificationFilter.__qualname__ = "NotificationFilter"
|
|
63939
|
+
scout_integrations_api_NotificationFilter.__module__ = "nominal_api.scout_integrations_api"
|
|
63940
|
+
|
|
63941
|
+
|
|
63907
63942
|
class scout_integrations_api_OpsgenieIntegration(ConjureBeanType):
|
|
63908
63943
|
|
|
63909
63944
|
@builtins.classmethod
|
|
@@ -65642,6 +65677,8 @@ class scout_metadata_ResourceType(ConjureEnumType):
|
|
|
65642
65677
|
'''VIDEO'''
|
|
65643
65678
|
ASSET = 'ASSET'
|
|
65644
65679
|
'''ASSET'''
|
|
65680
|
+
EVENT = 'EVENT'
|
|
65681
|
+
'''EVENT'''
|
|
65645
65682
|
UNKNOWN = 'UNKNOWN'
|
|
65646
65683
|
'''UNKNOWN'''
|
|
65647
65684
|
|
|
@@ -74205,22 +74242,22 @@ class scout_workbookcommon_api_EventReference(ConjureBeanType):
|
|
|
74205
74242
|
@builtins.classmethod
|
|
74206
74243
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
74207
74244
|
return {
|
|
74208
|
-
'event_uuid': ConjureFieldDefinition('eventUuid',
|
|
74209
|
-
'rid': ConjureFieldDefinition('rid', api_rids_EventRid)
|
|
74245
|
+
'event_uuid': ConjureFieldDefinition('eventUuid', str),
|
|
74246
|
+
'rid': ConjureFieldDefinition('rid', OptionalTypeWrapper[api_rids_EventRid])
|
|
74210
74247
|
}
|
|
74211
74248
|
|
|
74212
74249
|
__slots__: List[str] = ['_event_uuid', '_rid']
|
|
74213
74250
|
|
|
74214
|
-
def __init__(self,
|
|
74251
|
+
def __init__(self, event_uuid: str, rid: Optional[str] = None) -> None:
|
|
74215
74252
|
self._event_uuid = event_uuid
|
|
74216
74253
|
self._rid = rid
|
|
74217
74254
|
|
|
74218
74255
|
@builtins.property
|
|
74219
|
-
def event_uuid(self) ->
|
|
74256
|
+
def event_uuid(self) -> str:
|
|
74220
74257
|
return self._event_uuid
|
|
74221
74258
|
|
|
74222
74259
|
@builtins.property
|
|
74223
|
-
def rid(self) -> str:
|
|
74260
|
+
def rid(self) -> Optional[str]:
|
|
74224
74261
|
"""
|
|
74225
74262
|
The event's unique identifier. This will soon be a required field.
|
|
74226
74263
|
"""
|
|
@@ -12,6 +12,7 @@ from .._impl import (
|
|
|
12
12
|
scout_integrations_api_IntegrationRid as IntegrationRid,
|
|
13
13
|
scout_integrations_api_IntegrationsService as IntegrationsService,
|
|
14
14
|
scout_integrations_api_NotificationConfiguration as NotificationConfiguration,
|
|
15
|
+
scout_integrations_api_NotificationFilter as NotificationFilter,
|
|
15
16
|
scout_integrations_api_OpsgenieIntegration as OpsgenieIntegration,
|
|
16
17
|
scout_integrations_api_OpsgenieRegion as OpsgenieRegion,
|
|
17
18
|
scout_integrations_api_SendMessageRequest as SendMessageRequest,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
|
2
|
-
nominal_api/_impl.py,sha256=
|
|
1
|
+
nominal_api/__init__.py,sha256=Pdgbvp13lQ0rRDRUlSbASjsWOs1FF7Z9xRuph7DCR60,1955
|
|
2
|
+
nominal_api/_impl.py,sha256=z4-8UE6UGd2gXIakGfXkPW3yIan3igkUtaSuiOolZzA,3165123
|
|
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
|
|
@@ -41,7 +41,7 @@ nominal_api/scout_datasource_connection_api/__init__.py,sha256=uZDDTsvvsr_7LfkHw
|
|
|
41
41
|
nominal_api/scout_datasource_connection_api_influx/__init__.py,sha256=PeUZYnCR7Iq92bRuygtWly-HaZ-G1MfqShxJmamiTWA,99
|
|
42
42
|
nominal_api/scout_favorites/__init__.py,sha256=qiOvaWVVl3O7tXZIq_NrCWFcMx-Q-H5sA_NpIc4TFVU,98
|
|
43
43
|
nominal_api/scout_favorites_api/__init__.py,sha256=VOsTMNCQTHYxdYRzRlvEyli5b7Lo2BEnSNcWT2HA9uY,380
|
|
44
|
-
nominal_api/scout_integrations_api/__init__.py,sha256=
|
|
44
|
+
nominal_api/scout_integrations_api/__init__.py,sha256=H4ZYZMqU638XUCT4wTaDTuZ3W6MpCycfhdsBFCBCf5A,1501
|
|
45
45
|
nominal_api/scout_internal_search_api/__init__.py,sha256=zSfj3VwnMZaPbzSKot14JE-sBnJSoTC8Y8BQF0TEDZo,588
|
|
46
46
|
nominal_api/scout_jobs_api/__init__.py,sha256=_2ETRUShk1pestGAKzHwc69S-ililQRD4Y9JLD5qqZ4,146
|
|
47
47
|
nominal_api/scout_layout_api/__init__.py,sha256=mKszV44ni9VODK9jFyY3O9YOV9DYltKJ20s91922EKc,1363
|
|
@@ -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.
|
|
76
|
-
nominal_api-0.
|
|
77
|
-
nominal_api-0.
|
|
78
|
-
nominal_api-0.
|
|
75
|
+
nominal_api-0.684.1.dist-info/METADATA,sha256=kPES2dIJHcnMaHPmmqqW9gY3K4_k9augM894_e60enU,199
|
|
76
|
+
nominal_api-0.684.1.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
|
77
|
+
nominal_api-0.684.1.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
78
|
+
nominal_api-0.684.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|