nominal-api 0.636.0__py3-none-any.whl → 0.637.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 +103 -7
- nominal_api/ingest_workflow_api/__init__.py +2 -0
- {nominal_api-0.636.0.dist-info → nominal_api-0.637.0.dist-info}/METADATA +1 -1
- {nominal_api-0.636.0.dist-info → nominal_api-0.637.0.dist-info}/RECORD +7 -7
- {nominal_api-0.636.0.dist-info → nominal_api-0.637.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.636.0.dist-info → nominal_api-0.637.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -11494,17 +11494,19 @@ class ingest_workflow_api_EnsureExtractorJobCreatedRequest(ConjureBeanType):
|
|
|
11494
11494
|
'ingest_job_uuid': ConjureFieldDefinition('ingestJobUuid', str),
|
|
11495
11495
|
'containerized_extractor': ConjureFieldDefinition('containerizedExtractor', ingest_api_ContainerizedExtractor),
|
|
11496
11496
|
'source_handles': ConjureFieldDefinition('sourceHandles', Dict[str, scout_catalog_S3Handle]),
|
|
11497
|
-
'multipart_upload_details': ConjureFieldDefinition('multipartUploadDetails', ingest_workflow_api_MultipartUploadDetails)
|
|
11497
|
+
'multipart_upload_details': ConjureFieldDefinition('multipartUploadDetails', ingest_workflow_api_MultipartUploadDetails),
|
|
11498
|
+
'image_pull_secret_name': ConjureFieldDefinition('imagePullSecretName', OptionalTypeWrapper[str])
|
|
11498
11499
|
}
|
|
11499
11500
|
|
|
11500
|
-
__slots__: List[str] = ['_workspace_rid', '_ingest_job_uuid', '_containerized_extractor', '_source_handles', '_multipart_upload_details']
|
|
11501
|
+
__slots__: List[str] = ['_workspace_rid', '_ingest_job_uuid', '_containerized_extractor', '_source_handles', '_multipart_upload_details', '_image_pull_secret_name']
|
|
11501
11502
|
|
|
11502
|
-
def __init__(self, containerized_extractor: "ingest_api_ContainerizedExtractor", ingest_job_uuid: str, multipart_upload_details: "ingest_workflow_api_MultipartUploadDetails", source_handles: Dict[str, "scout_catalog_S3Handle"], workspace_rid: str) -> None:
|
|
11503
|
+
def __init__(self, containerized_extractor: "ingest_api_ContainerizedExtractor", ingest_job_uuid: str, multipart_upload_details: "ingest_workflow_api_MultipartUploadDetails", source_handles: Dict[str, "scout_catalog_S3Handle"], workspace_rid: str, image_pull_secret_name: Optional[str] = None) -> None:
|
|
11503
11504
|
self._workspace_rid = workspace_rid
|
|
11504
11505
|
self._ingest_job_uuid = ingest_job_uuid
|
|
11505
11506
|
self._containerized_extractor = containerized_extractor
|
|
11506
11507
|
self._source_handles = source_handles
|
|
11507
11508
|
self._multipart_upload_details = multipart_upload_details
|
|
11509
|
+
self._image_pull_secret_name = image_pull_secret_name
|
|
11508
11510
|
|
|
11509
11511
|
@builtins.property
|
|
11510
11512
|
def workspace_rid(self) -> str:
|
|
@@ -11526,6 +11528,13 @@ class ingest_workflow_api_EnsureExtractorJobCreatedRequest(ConjureBeanType):
|
|
|
11526
11528
|
def multipart_upload_details(self) -> "ingest_workflow_api_MultipartUploadDetails":
|
|
11527
11529
|
return self._multipart_upload_details
|
|
11528
11530
|
|
|
11531
|
+
@builtins.property
|
|
11532
|
+
def image_pull_secret_name(self) -> Optional[str]:
|
|
11533
|
+
"""
|
|
11534
|
+
Name of the Kubernetes secret to use for pulling the image, if authentication is required.
|
|
11535
|
+
"""
|
|
11536
|
+
return self._image_pull_secret_name
|
|
11537
|
+
|
|
11529
11538
|
|
|
11530
11539
|
ingest_workflow_api_EnsureExtractorJobCreatedRequest.__name__ = "EnsureExtractorJobCreatedRequest"
|
|
11531
11540
|
ingest_workflow_api_EnsureExtractorJobCreatedRequest.__qualname__ = "EnsureExtractorJobCreatedRequest"
|
|
@@ -11548,6 +11557,80 @@ ingest_workflow_api_EnsureExtractorJobCreatedResponse.__qualname__ = "EnsureExtr
|
|
|
11548
11557
|
ingest_workflow_api_EnsureExtractorJobCreatedResponse.__module__ = "nominal_api.ingest_workflow_api"
|
|
11549
11558
|
|
|
11550
11559
|
|
|
11560
|
+
class ingest_workflow_api_EnsureImagePullSecretCreatedRequest(ConjureBeanType):
|
|
11561
|
+
"""
|
|
11562
|
+
Ensures a Kubernetes secret of type kubernetes.io/dockerconfigjson exists
|
|
11563
|
+
for the given registry credentials.
|
|
11564
|
+
"""
|
|
11565
|
+
|
|
11566
|
+
@builtins.classmethod
|
|
11567
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
11568
|
+
return {
|
|
11569
|
+
'workspace_rid': ConjureFieldDefinition('workspaceRid', api_rids_WorkspaceRid),
|
|
11570
|
+
'image_source': ConjureFieldDefinition('imageSource', ingest_api_DockerImageSource),
|
|
11571
|
+
'authentication': ConjureFieldDefinition('authentication', ingest_api_UserAndPasswordAuthentication),
|
|
11572
|
+
'ingest_job_uuid': ConjureFieldDefinition('ingestJobUuid', str),
|
|
11573
|
+
'bearer_token': ConjureFieldDefinition('bearerToken', str)
|
|
11574
|
+
}
|
|
11575
|
+
|
|
11576
|
+
__slots__: List[str] = ['_workspace_rid', '_image_source', '_authentication', '_ingest_job_uuid', '_bearer_token']
|
|
11577
|
+
|
|
11578
|
+
def __init__(self, authentication: "ingest_api_UserAndPasswordAuthentication", bearer_token: str, image_source: "ingest_api_DockerImageSource", ingest_job_uuid: str, workspace_rid: str) -> None:
|
|
11579
|
+
self._workspace_rid = workspace_rid
|
|
11580
|
+
self._image_source = image_source
|
|
11581
|
+
self._authentication = authentication
|
|
11582
|
+
self._ingest_job_uuid = ingest_job_uuid
|
|
11583
|
+
self._bearer_token = bearer_token
|
|
11584
|
+
|
|
11585
|
+
@builtins.property
|
|
11586
|
+
def workspace_rid(self) -> str:
|
|
11587
|
+
return self._workspace_rid
|
|
11588
|
+
|
|
11589
|
+
@builtins.property
|
|
11590
|
+
def image_source(self) -> "ingest_api_DockerImageSource":
|
|
11591
|
+
return self._image_source
|
|
11592
|
+
|
|
11593
|
+
@builtins.property
|
|
11594
|
+
def authentication(self) -> "ingest_api_UserAndPasswordAuthentication":
|
|
11595
|
+
return self._authentication
|
|
11596
|
+
|
|
11597
|
+
@builtins.property
|
|
11598
|
+
def ingest_job_uuid(self) -> str:
|
|
11599
|
+
return self._ingest_job_uuid
|
|
11600
|
+
|
|
11601
|
+
@builtins.property
|
|
11602
|
+
def bearer_token(self) -> str:
|
|
11603
|
+
return self._bearer_token
|
|
11604
|
+
|
|
11605
|
+
|
|
11606
|
+
ingest_workflow_api_EnsureImagePullSecretCreatedRequest.__name__ = "EnsureImagePullSecretCreatedRequest"
|
|
11607
|
+
ingest_workflow_api_EnsureImagePullSecretCreatedRequest.__qualname__ = "EnsureImagePullSecretCreatedRequest"
|
|
11608
|
+
ingest_workflow_api_EnsureImagePullSecretCreatedRequest.__module__ = "nominal_api.ingest_workflow_api"
|
|
11609
|
+
|
|
11610
|
+
|
|
11611
|
+
class ingest_workflow_api_EnsureImagePullSecretCreatedResponse(ConjureBeanType):
|
|
11612
|
+
|
|
11613
|
+
@builtins.classmethod
|
|
11614
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
11615
|
+
return {
|
|
11616
|
+
'secret_name': ConjureFieldDefinition('secretName', str)
|
|
11617
|
+
}
|
|
11618
|
+
|
|
11619
|
+
__slots__: List[str] = ['_secret_name']
|
|
11620
|
+
|
|
11621
|
+
def __init__(self, secret_name: str) -> None:
|
|
11622
|
+
self._secret_name = secret_name
|
|
11623
|
+
|
|
11624
|
+
@builtins.property
|
|
11625
|
+
def secret_name(self) -> str:
|
|
11626
|
+
return self._secret_name
|
|
11627
|
+
|
|
11628
|
+
|
|
11629
|
+
ingest_workflow_api_EnsureImagePullSecretCreatedResponse.__name__ = "EnsureImagePullSecretCreatedResponse"
|
|
11630
|
+
ingest_workflow_api_EnsureImagePullSecretCreatedResponse.__qualname__ = "EnsureImagePullSecretCreatedResponse"
|
|
11631
|
+
ingest_workflow_api_EnsureImagePullSecretCreatedResponse.__module__ = "nominal_api.ingest_workflow_api"
|
|
11632
|
+
|
|
11633
|
+
|
|
11551
11634
|
class ingest_workflow_api_EnsureWorkspaceNamespaceCreatedRequest(ConjureBeanType):
|
|
11552
11635
|
"""
|
|
11553
11636
|
For a given workspace rid, ensures that there is a corresponding K8s namespace created.
|
|
@@ -12655,7 +12738,9 @@ class persistent_compute_api_ShutdownNotice(ConjureBeanType):
|
|
|
12655
12738
|
Indicates that the websocket will shut down in the near future. Until it is, SubscriptionUpdates will
|
|
12656
12739
|
still be sent to the client. Clients that want to avoid downtime or latency spikes should initiate a new
|
|
12657
12740
|
websocket and recreate all their subscriptions there but still keep this websocket open until the new
|
|
12658
|
-
websockets starts sending SubscriptionUpdates.
|
|
12741
|
+
websockets starts sending SubscriptionUpdates. Clients should also specify
|
|
12742
|
+
`SubscriptionOptions::allowGracefulWarmUp` when creating the new subscriptions, which allows the new websocket
|
|
12743
|
+
to warm up before sending subscription updates, guaranteeing better performance.
|
|
12659
12744
|
"""
|
|
12660
12745
|
|
|
12661
12746
|
@builtins.classmethod
|
|
@@ -12908,14 +12993,16 @@ class persistent_compute_api_SubscriptionOptions(ConjureBeanType):
|
|
|
12908
12993
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
12909
12994
|
return {
|
|
12910
12995
|
'min_delay': ConjureFieldDefinition('minDelay', persistent_compute_api_Milliseconds),
|
|
12911
|
-
'allow_appends': ConjureFieldDefinition('allowAppends', OptionalTypeWrapper[bool])
|
|
12996
|
+
'allow_appends': ConjureFieldDefinition('allowAppends', OptionalTypeWrapper[bool]),
|
|
12997
|
+
'allow_graceful_warm_up': ConjureFieldDefinition('allowGracefulWarmUp', OptionalTypeWrapper[bool])
|
|
12912
12998
|
}
|
|
12913
12999
|
|
|
12914
|
-
__slots__: List[str] = ['_min_delay', '_allow_appends']
|
|
13000
|
+
__slots__: List[str] = ['_min_delay', '_allow_appends', '_allow_graceful_warm_up']
|
|
12915
13001
|
|
|
12916
|
-
def __init__(self, min_delay: int, allow_appends: Optional[bool] = None) -> None:
|
|
13002
|
+
def __init__(self, min_delay: int, allow_appends: Optional[bool] = None, allow_graceful_warm_up: Optional[bool] = None) -> None:
|
|
12917
13003
|
self._min_delay = min_delay
|
|
12918
13004
|
self._allow_appends = allow_appends
|
|
13005
|
+
self._allow_graceful_warm_up = allow_graceful_warm_up
|
|
12919
13006
|
|
|
12920
13007
|
@builtins.property
|
|
12921
13008
|
def min_delay(self) -> int:
|
|
@@ -12937,6 +13024,15 @@ implement support.
|
|
|
12937
13024
|
"""
|
|
12938
13025
|
return self._allow_appends
|
|
12939
13026
|
|
|
13027
|
+
@builtins.property
|
|
13028
|
+
def allow_graceful_warm_up(self) -> Optional[bool]:
|
|
13029
|
+
"""
|
|
13030
|
+
If true, the subscriptions will be allowed to warm up before sending results, in order to guarantee low
|
|
13031
|
+
latency. This should be set when doing a graceful switch based on a
|
|
13032
|
+
`ServerMessage::HealthMessage::ShutdownNotice`. Defaults to `false`.
|
|
13033
|
+
"""
|
|
13034
|
+
return self._allow_graceful_warm_up
|
|
13035
|
+
|
|
12940
13036
|
|
|
12941
13037
|
persistent_compute_api_SubscriptionOptions.__name__ = "SubscriptionOptions"
|
|
12942
13038
|
persistent_compute_api_SubscriptionOptions.__qualname__ = "SubscriptionOptions"
|
|
@@ -3,6 +3,8 @@ from .._impl import (
|
|
|
3
3
|
ingest_workflow_api_Empty as Empty,
|
|
4
4
|
ingest_workflow_api_EnsureExtractorJobCreatedRequest as EnsureExtractorJobCreatedRequest,
|
|
5
5
|
ingest_workflow_api_EnsureExtractorJobCreatedResponse as EnsureExtractorJobCreatedResponse,
|
|
6
|
+
ingest_workflow_api_EnsureImagePullSecretCreatedRequest as EnsureImagePullSecretCreatedRequest,
|
|
7
|
+
ingest_workflow_api_EnsureImagePullSecretCreatedResponse as EnsureImagePullSecretCreatedResponse,
|
|
6
8
|
ingest_workflow_api_EnsureWorkspaceNamespaceCreatedRequest as EnsureWorkspaceNamespaceCreatedRequest,
|
|
7
9
|
ingest_workflow_api_EnsureWorkspaceServiceAccountCreatedRequest as EnsureWorkspaceServiceAccountCreatedRequest,
|
|
8
10
|
ingest_workflow_api_ExtractorJobState as ExtractorJobState,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
|
2
|
-
nominal_api/_impl.py,sha256=
|
|
1
|
+
nominal_api/__init__.py,sha256=tVXQkx_BAVQK5ANgcS_iV4PoPddmUEPNf-OvyqY2B28,1995
|
|
2
|
+
nominal_api/_impl.py,sha256=T2XjpWWx3gJoqvJpNADYDITR_gFRmKrmz0ENxnY4Z9g,3077908
|
|
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
|
|
@@ -16,7 +16,7 @@ nominal_api/datasource_logset_api/__init__.py,sha256=JyjO1tQmG-HZ7kYMi8lSfeaaYdd
|
|
|
16
16
|
nominal_api/datasource_pagination_api/__init__.py,sha256=3GO8TAUavOe6dUEitOhje74aSZHjTKVI5N1MNuct1lI,212
|
|
17
17
|
nominal_api/event/__init__.py,sha256=7PFDYCfwSm4AfVtWkHIUrLv1qo1LD-Ed09hTpMGjaFA,916
|
|
18
18
|
nominal_api/ingest_api/__init__.py,sha256=o-JBX6tm7Tfwkll1eqiiOzqZYvIyajtgqGkPjmYjrrQ,7014
|
|
19
|
-
nominal_api/ingest_workflow_api/__init__.py,sha256=
|
|
19
|
+
nominal_api/ingest_workflow_api/__init__.py,sha256=fbjGpZ-UK2dTfdpzKIurwLB5m24afqsD81WT84kYFs4,1628
|
|
20
20
|
nominal_api/persistent_compute_api/__init__.py,sha256=OTn2mzP57Bq4MOItkXMockPrDZmHvp6wisuZHcy2K90,1973
|
|
21
21
|
nominal_api/scout/__init__.py,sha256=ip3XK_9jJKAoFiCifUVMTpDMiUE4mWIdGzMDu7LASus,324
|
|
22
22
|
nominal_api/scout_api/__init__.py,sha256=biO4DEygbGcLwM6Dg2VuvMra3A5EW6NBjukbIemXoG8,178
|
|
@@ -73,7 +73,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=Q9iZHurmyDsJIFbUg-Eb
|
|
|
73
73
|
nominal_api/timeseries_seriescache/__init__.py,sha256=tFCkNuyrVMgtj-HIl1pOYPJHaL2VikI4C_x97bX_Lcs,109
|
|
74
74
|
nominal_api/timeseries_seriescache_api/__init__.py,sha256=U9EhlqdF9qzD1O9al0vcvcdgS_C5lq-lN3Kmr0K3g84,1191
|
|
75
75
|
nominal_api/upload_api/__init__.py,sha256=ZMudWMSqCrNozohbHaJKuxJnT9Edepe7nxxXMz_pT9k,87
|
|
76
|
-
nominal_api-0.
|
|
77
|
-
nominal_api-0.
|
|
78
|
-
nominal_api-0.
|
|
79
|
-
nominal_api-0.
|
|
76
|
+
nominal_api-0.637.0.dist-info/METADATA,sha256=MrqMBfovHZjp7fXV_7E5pF4dJ-Q48iFxYsQeG5xQ-mI,199
|
|
77
|
+
nominal_api-0.637.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
78
|
+
nominal_api-0.637.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
79
|
+
nominal_api-0.637.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|