nominal-api 0.939.0__py3-none-any.whl → 0.941.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 +169 -15
- nominal_api/ingest_api/__init__.py +4 -0
- {nominal_api-0.939.0.dist-info → nominal_api-0.941.0.dist-info}/METADATA +1 -1
- {nominal_api-0.939.0.dist-info → nominal_api-0.941.0.dist-info}/RECORD +7 -7
- {nominal_api-0.939.0.dist-info → nominal_api-0.941.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.939.0.dist-info → nominal_api-0.941.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
@@ -8608,6 +8608,7 @@ class ingest_api_ContainerizedExtractor(ConjureBeanType):
|
|
8608
8608
|
'description': ConjureFieldDefinition('description', OptionalTypeWrapper[str]),
|
8609
8609
|
'image': ConjureFieldDefinition('image', ingest_api_DockerImageSource),
|
8610
8610
|
'inputs': ConjureFieldDefinition('inputs', List[ingest_api_FileExtractionInput]),
|
8611
|
+
'parameters': ConjureFieldDefinition('parameters', List[ingest_api_FileExtractionParameter]),
|
8611
8612
|
'properties': ConjureFieldDefinition('properties', Dict[api_PropertyName, api_PropertyValue]),
|
8612
8613
|
'labels': ConjureFieldDefinition('labels', List[api_Label]),
|
8613
8614
|
'created_at': ConjureFieldDefinition('createdAt', str),
|
@@ -8616,14 +8617,15 @@ class ingest_api_ContainerizedExtractor(ConjureBeanType):
|
|
8616
8617
|
'output_file_format': ConjureFieldDefinition('outputFileFormat', ingest_api_FileOutputFormat)
|
8617
8618
|
}
|
8618
8619
|
|
8619
|
-
__slots__: List[str] = ['_rid', '_name', '_description', '_image', '_inputs', '_properties', '_labels', '_created_at', '_is_archived', '_timestamp_metadata', '_output_file_format']
|
8620
|
+
__slots__: List[str] = ['_rid', '_name', '_description', '_image', '_inputs', '_parameters', '_properties', '_labels', '_created_at', '_is_archived', '_timestamp_metadata', '_output_file_format']
|
8620
8621
|
|
8621
|
-
def __init__(self, created_at: str, image: "ingest_api_DockerImageSource", inputs: List["ingest_api_FileExtractionInput"], is_archived: bool, labels: List[str], name: str, output_file_format: "ingest_api_FileOutputFormat", properties: Dict[str, str], rid: str, timestamp_metadata: "ingest_api_TimestampMetadata", description: Optional[str] = None) -> None:
|
8622
|
+
def __init__(self, created_at: str, image: "ingest_api_DockerImageSource", inputs: List["ingest_api_FileExtractionInput"], is_archived: bool, labels: List[str], name: str, output_file_format: "ingest_api_FileOutputFormat", parameters: List["ingest_api_FileExtractionParameter"], properties: Dict[str, str], rid: str, timestamp_metadata: "ingest_api_TimestampMetadata", description: Optional[str] = None) -> None:
|
8622
8623
|
self._rid = rid
|
8623
8624
|
self._name = name
|
8624
8625
|
self._description = description
|
8625
8626
|
self._image = image
|
8626
8627
|
self._inputs = inputs
|
8628
|
+
self._parameters = parameters
|
8627
8629
|
self._properties = properties
|
8628
8630
|
self._labels = labels
|
8629
8631
|
self._created_at = created_at
|
@@ -8661,6 +8663,12 @@ class ingest_api_ContainerizedExtractor(ConjureBeanType):
|
|
8661
8663
|
"""
|
8662
8664
|
return self._inputs
|
8663
8665
|
|
8666
|
+
@builtins.property
|
8667
|
+
def parameters(self) -> List["ingest_api_FileExtractionParameter"]:
|
8668
|
+
"""Describes the parameters of the extractor.
|
8669
|
+
"""
|
8670
|
+
return self._parameters
|
8671
|
+
|
8664
8672
|
@builtins.property
|
8665
8673
|
def properties(self) -> Dict[str, str]:
|
8666
8674
|
"""Additional properties associated with this extractor.
|
@@ -8910,15 +8918,17 @@ class ingest_api_ContainerizedOpts(ConjureBeanType):
|
|
8910
8918
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
8911
8919
|
return {
|
8912
8920
|
'sources': ConjureFieldDefinition('sources', Dict[ingest_api_EnvironmentVariable, ingest_api_IngestSource]),
|
8921
|
+
'arguments': ConjureFieldDefinition('arguments', Dict[ingest_api_EnvironmentVariable, str]),
|
8913
8922
|
'extractor_rid': ConjureFieldDefinition('extractorRid', ingest_api_ContainerizedExtractorRid),
|
8914
8923
|
'tag': ConjureFieldDefinition('tag', OptionalTypeWrapper[str]),
|
8915
8924
|
'target': ConjureFieldDefinition('target', ingest_api_DatasetIngestTarget)
|
8916
8925
|
}
|
8917
8926
|
|
8918
|
-
__slots__: List[str] = ['_sources', '_extractor_rid', '_tag', '_target']
|
8927
|
+
__slots__: List[str] = ['_sources', '_arguments', '_extractor_rid', '_tag', '_target']
|
8919
8928
|
|
8920
|
-
def __init__(self, extractor_rid: str, sources: Dict[str, "ingest_api_IngestSource"], target: "ingest_api_DatasetIngestTarget", tag: Optional[str] = None) -> None:
|
8929
|
+
def __init__(self, arguments: Dict[str, str], extractor_rid: str, sources: Dict[str, "ingest_api_IngestSource"], target: "ingest_api_DatasetIngestTarget", tag: Optional[str] = None) -> None:
|
8921
8930
|
self._sources = sources
|
8931
|
+
self._arguments = arguments
|
8922
8932
|
self._extractor_rid = extractor_rid
|
8923
8933
|
self._tag = tag
|
8924
8934
|
self._target = target
|
@@ -8927,6 +8937,10 @@ class ingest_api_ContainerizedOpts(ConjureBeanType):
|
|
8927
8937
|
def sources(self) -> Dict[str, "ingest_api_IngestSource"]:
|
8928
8938
|
return self._sources
|
8929
8939
|
|
8940
|
+
@builtins.property
|
8941
|
+
def arguments(self) -> Dict[str, str]:
|
8942
|
+
return self._arguments
|
8943
|
+
|
8930
8944
|
@builtins.property
|
8931
8945
|
def extractor_rid(self) -> str:
|
8932
8946
|
return self._extractor_rid
|
@@ -9488,6 +9502,57 @@ ingest_api_FileExtractionInput.__qualname__ = "FileExtractionInput"
|
|
9488
9502
|
ingest_api_FileExtractionInput.__module__ = "nominal_api.ingest_api"
|
9489
9503
|
|
9490
9504
|
|
9505
|
+
class ingest_api_FileExtractionParameter(ConjureBeanType):
|
9506
|
+
"""Defines an input parameter to be provided to the extractor.
|
9507
|
+
"""
|
9508
|
+
|
9509
|
+
@builtins.classmethod
|
9510
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
9511
|
+
return {
|
9512
|
+
'environment_variable': ConjureFieldDefinition('environmentVariable', ingest_api_EnvironmentVariable),
|
9513
|
+
'name': ConjureFieldDefinition('name', str),
|
9514
|
+
'description': ConjureFieldDefinition('description', OptionalTypeWrapper[str]),
|
9515
|
+
'required': ConjureFieldDefinition('required', OptionalTypeWrapper[bool])
|
9516
|
+
}
|
9517
|
+
|
9518
|
+
__slots__: List[str] = ['_environment_variable', '_name', '_description', '_required']
|
9519
|
+
|
9520
|
+
def __init__(self, environment_variable: str, name: str, description: Optional[str] = None, required: Optional[bool] = None) -> None:
|
9521
|
+
self._environment_variable = environment_variable
|
9522
|
+
self._name = name
|
9523
|
+
self._description = description
|
9524
|
+
self._required = required
|
9525
|
+
|
9526
|
+
@builtins.property
|
9527
|
+
def environment_variable(self) -> str:
|
9528
|
+
"""The environment variable that stores the argument
|
9529
|
+
"""
|
9530
|
+
return self._environment_variable
|
9531
|
+
|
9532
|
+
@builtins.property
|
9533
|
+
def name(self) -> str:
|
9534
|
+
"""Name of the parameter which users will be prompted with
|
9535
|
+
"""
|
9536
|
+
return self._name
|
9537
|
+
|
9538
|
+
@builtins.property
|
9539
|
+
def description(self) -> Optional[str]:
|
9540
|
+
"""Description of the parameter which users will be prompted with
|
9541
|
+
"""
|
9542
|
+
return self._description
|
9543
|
+
|
9544
|
+
@builtins.property
|
9545
|
+
def required(self) -> Optional[bool]:
|
9546
|
+
"""Whether the parameter is required for the extractor to run.
|
9547
|
+
"""
|
9548
|
+
return self._required
|
9549
|
+
|
9550
|
+
|
9551
|
+
ingest_api_FileExtractionParameter.__name__ = "FileExtractionParameter"
|
9552
|
+
ingest_api_FileExtractionParameter.__qualname__ = "FileExtractionParameter"
|
9553
|
+
ingest_api_FileExtractionParameter.__module__ = "nominal_api.ingest_api"
|
9554
|
+
|
9555
|
+
|
9491
9556
|
class ingest_api_FileFilter(ConjureUnionType):
|
9492
9557
|
_suffix: Optional[str] = None
|
9493
9558
|
|
@@ -10875,22 +10940,25 @@ ingest_api_IngestService.__module__ = "nominal_api.ingest_api"
|
|
10875
10940
|
class ingest_api_IngestSource(ConjureUnionType):
|
10876
10941
|
_s3: Optional["ingest_api_S3IngestSource"] = None
|
10877
10942
|
_gcs: Optional["ingest_api_GcsIngestSource"] = None
|
10943
|
+
_presigned_file: Optional["ingest_api_PresignedFileIngestSource"] = None
|
10878
10944
|
|
10879
10945
|
@builtins.classmethod
|
10880
10946
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
10881
10947
|
return {
|
10882
10948
|
's3': ConjureFieldDefinition('s3', ingest_api_S3IngestSource),
|
10883
|
-
'gcs': ConjureFieldDefinition('gcs', ingest_api_GcsIngestSource)
|
10949
|
+
'gcs': ConjureFieldDefinition('gcs', ingest_api_GcsIngestSource),
|
10950
|
+
'presigned_file': ConjureFieldDefinition('presignedFile', ingest_api_PresignedFileIngestSource)
|
10884
10951
|
}
|
10885
10952
|
|
10886
10953
|
def __init__(
|
10887
10954
|
self,
|
10888
10955
|
s3: Optional["ingest_api_S3IngestSource"] = None,
|
10889
10956
|
gcs: Optional["ingest_api_GcsIngestSource"] = None,
|
10957
|
+
presigned_file: Optional["ingest_api_PresignedFileIngestSource"] = None,
|
10890
10958
|
type_of_union: Optional[str] = None
|
10891
10959
|
) -> None:
|
10892
10960
|
if type_of_union is None:
|
10893
|
-
if (s3 is not None) + (gcs is not None) != 1:
|
10961
|
+
if (s3 is not None) + (gcs is not None) + (presigned_file is not None) != 1:
|
10894
10962
|
raise ValueError('a union must contain a single member')
|
10895
10963
|
|
10896
10964
|
if s3 is not None:
|
@@ -10899,6 +10967,9 @@ class ingest_api_IngestSource(ConjureUnionType):
|
|
10899
10967
|
if gcs is not None:
|
10900
10968
|
self._gcs = gcs
|
10901
10969
|
self._type = 'gcs'
|
10970
|
+
if presigned_file is not None:
|
10971
|
+
self._presigned_file = presigned_file
|
10972
|
+
self._type = 'presignedFile'
|
10902
10973
|
|
10903
10974
|
elif type_of_union == 's3':
|
10904
10975
|
if s3 is None:
|
@@ -10910,6 +10981,11 @@ class ingest_api_IngestSource(ConjureUnionType):
|
|
10910
10981
|
raise ValueError('a union value must not be None')
|
10911
10982
|
self._gcs = gcs
|
10912
10983
|
self._type = 'gcs'
|
10984
|
+
elif type_of_union == 'presignedFile':
|
10985
|
+
if presigned_file is None:
|
10986
|
+
raise ValueError('a union value must not be None')
|
10987
|
+
self._presigned_file = presigned_file
|
10988
|
+
self._type = 'presignedFile'
|
10913
10989
|
|
10914
10990
|
@builtins.property
|
10915
10991
|
def s3(self) -> Optional["ingest_api_S3IngestSource"]:
|
@@ -10919,6 +10995,10 @@ class ingest_api_IngestSource(ConjureUnionType):
|
|
10919
10995
|
def gcs(self) -> Optional["ingest_api_GcsIngestSource"]:
|
10920
10996
|
return self._gcs
|
10921
10997
|
|
10998
|
+
@builtins.property
|
10999
|
+
def presigned_file(self) -> Optional["ingest_api_PresignedFileIngestSource"]:
|
11000
|
+
return self._presigned_file
|
11001
|
+
|
10922
11002
|
def accept(self, visitor) -> Any:
|
10923
11003
|
if not isinstance(visitor, ingest_api_IngestSourceVisitor):
|
10924
11004
|
raise ValueError('{} is not an instance of ingest_api_IngestSourceVisitor'.format(visitor.__class__.__name__))
|
@@ -10926,6 +11006,8 @@ class ingest_api_IngestSource(ConjureUnionType):
|
|
10926
11006
|
return visitor._s3(self.s3)
|
10927
11007
|
if self._type == 'gcs' and self.gcs is not None:
|
10928
11008
|
return visitor._gcs(self.gcs)
|
11009
|
+
if self._type == 'presignedFile' and self.presigned_file is not None:
|
11010
|
+
return visitor._presigned_file(self.presigned_file)
|
10929
11011
|
|
10930
11012
|
|
10931
11013
|
ingest_api_IngestSource.__name__ = "IngestSource"
|
@@ -10943,6 +11025,10 @@ class ingest_api_IngestSourceVisitor:
|
|
10943
11025
|
def _gcs(self, gcs: "ingest_api_GcsIngestSource") -> Any:
|
10944
11026
|
pass
|
10945
11027
|
|
11028
|
+
@abstractmethod
|
11029
|
+
def _presigned_file(self, presigned_file: "ingest_api_PresignedFileIngestSource") -> Any:
|
11030
|
+
pass
|
11031
|
+
|
10946
11032
|
|
10947
11033
|
ingest_api_IngestSourceVisitor.__name__ = "IngestSourceVisitor"
|
10948
11034
|
ingest_api_IngestSourceVisitor.__qualname__ = "IngestSourceVisitor"
|
@@ -12192,6 +12278,29 @@ ingest_api_PartWithSize.__qualname__ = "PartWithSize"
|
|
12192
12278
|
ingest_api_PartWithSize.__module__ = "nominal_api.ingest_api"
|
12193
12279
|
|
12194
12280
|
|
12281
|
+
class ingest_api_PresignedFileIngestSource(ConjureBeanType):
|
12282
|
+
|
12283
|
+
@builtins.classmethod
|
12284
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
12285
|
+
return {
|
12286
|
+
'url': ConjureFieldDefinition('url', str)
|
12287
|
+
}
|
12288
|
+
|
12289
|
+
__slots__: List[str] = ['_url']
|
12290
|
+
|
12291
|
+
def __init__(self, url: str) -> None:
|
12292
|
+
self._url = url
|
12293
|
+
|
12294
|
+
@builtins.property
|
12295
|
+
def url(self) -> str:
|
12296
|
+
return self._url
|
12297
|
+
|
12298
|
+
|
12299
|
+
ingest_api_PresignedFileIngestSource.__name__ = "PresignedFileIngestSource"
|
12300
|
+
ingest_api_PresignedFileIngestSource.__qualname__ = "PresignedFileIngestSource"
|
12301
|
+
ingest_api_PresignedFileIngestSource.__module__ = "nominal_api.ingest_api"
|
12302
|
+
|
12303
|
+
|
12195
12304
|
class ingest_api_PublicAuthentication(ConjureBeanType):
|
12196
12305
|
|
12197
12306
|
@builtins.classmethod
|
@@ -12217,6 +12326,7 @@ class ingest_api_RegisterContainerizedExtractorRequest(ConjureBeanType):
|
|
12217
12326
|
'description': ConjureFieldDefinition('description', OptionalTypeWrapper[str]),
|
12218
12327
|
'image': ConjureFieldDefinition('image', ingest_api_DockerImageSource),
|
12219
12328
|
'inputs': ConjureFieldDefinition('inputs', List[ingest_api_FileExtractionInput]),
|
12329
|
+
'parameters': ConjureFieldDefinition('parameters', List[ingest_api_FileExtractionParameter]),
|
12220
12330
|
'properties': ConjureFieldDefinition('properties', Dict[api_PropertyName, api_PropertyValue]),
|
12221
12331
|
'labels': ConjureFieldDefinition('labels', List[api_Label]),
|
12222
12332
|
'workspace': ConjureFieldDefinition('workspace', api_rids_WorkspaceRid),
|
@@ -12224,13 +12334,14 @@ class ingest_api_RegisterContainerizedExtractorRequest(ConjureBeanType):
|
|
12224
12334
|
'output_file_format': ConjureFieldDefinition('outputFileFormat', OptionalTypeWrapper[ingest_api_FileOutputFormat])
|
12225
12335
|
}
|
12226
12336
|
|
12227
|
-
__slots__: List[str] = ['_name', '_description', '_image', '_inputs', '_properties', '_labels', '_workspace', '_timestamp_metadata', '_output_file_format']
|
12337
|
+
__slots__: List[str] = ['_name', '_description', '_image', '_inputs', '_parameters', '_properties', '_labels', '_workspace', '_timestamp_metadata', '_output_file_format']
|
12228
12338
|
|
12229
|
-
def __init__(self, image: "ingest_api_DockerImageSource", inputs: List["ingest_api_FileExtractionInput"], labels: List[str], name: str, properties: Dict[str, str], timestamp_metadata: "ingest_api_TimestampMetadata", workspace: str, description: Optional[str] = None, output_file_format: Optional["ingest_api_FileOutputFormat"] = None) -> None:
|
12339
|
+
def __init__(self, image: "ingest_api_DockerImageSource", inputs: List["ingest_api_FileExtractionInput"], labels: List[str], name: str, parameters: List["ingest_api_FileExtractionParameter"], properties: Dict[str, str], timestamp_metadata: "ingest_api_TimestampMetadata", workspace: str, description: Optional[str] = None, output_file_format: Optional["ingest_api_FileOutputFormat"] = None) -> None:
|
12230
12340
|
self._name = name
|
12231
12341
|
self._description = description
|
12232
12342
|
self._image = image
|
12233
12343
|
self._inputs = inputs
|
12344
|
+
self._parameters = parameters
|
12234
12345
|
self._properties = properties
|
12235
12346
|
self._labels = labels
|
12236
12347
|
self._workspace = workspace
|
@@ -12255,6 +12366,12 @@ class ingest_api_RegisterContainerizedExtractorRequest(ConjureBeanType):
|
|
12255
12366
|
"""
|
12256
12367
|
return self._inputs
|
12257
12368
|
|
12369
|
+
@builtins.property
|
12370
|
+
def parameters(self) -> List["ingest_api_FileExtractionParameter"]:
|
12371
|
+
"""Describes the parameters of the extractor.
|
12372
|
+
"""
|
12373
|
+
return self._parameters
|
12374
|
+
|
12258
12375
|
@builtins.property
|
12259
12376
|
def properties(self) -> Dict[str, str]:
|
12260
12377
|
return self._properties
|
@@ -13024,6 +13141,7 @@ class ingest_api_UpdateContainerizedExtractorRequest(ConjureBeanType):
|
|
13024
13141
|
'name': ConjureFieldDefinition('name', OptionalTypeWrapper[str]),
|
13025
13142
|
'description': ConjureFieldDefinition('description', OptionalTypeWrapper[str]),
|
13026
13143
|
'inputs': ConjureFieldDefinition('inputs', OptionalTypeWrapper[List[ingest_api_FileExtractionInput]]),
|
13144
|
+
'parameters': ConjureFieldDefinition('parameters', OptionalTypeWrapper[List[ingest_api_FileExtractionParameter]]),
|
13027
13145
|
'properties': ConjureFieldDefinition('properties', OptionalTypeWrapper[Dict[api_PropertyName, api_PropertyValue]]),
|
13028
13146
|
'labels': ConjureFieldDefinition('labels', OptionalTypeWrapper[List[api_Label]]),
|
13029
13147
|
'timestamp_metadata': ConjureFieldDefinition('timestampMetadata', OptionalTypeWrapper[ingest_api_TimestampMetadata]),
|
@@ -13034,12 +13152,13 @@ class ingest_api_UpdateContainerizedExtractorRequest(ConjureBeanType):
|
|
13034
13152
|
'command': ConjureFieldDefinition('command', OptionalTypeWrapper[str])
|
13035
13153
|
}
|
13036
13154
|
|
13037
|
-
__slots__: List[str] = ['_name', '_description', '_inputs', '_properties', '_labels', '_timestamp_metadata', '_output_file_format', '_tags', '_default_tag', '_authentication', '_command']
|
13155
|
+
__slots__: List[str] = ['_name', '_description', '_inputs', '_parameters', '_properties', '_labels', '_timestamp_metadata', '_output_file_format', '_tags', '_default_tag', '_authentication', '_command']
|
13038
13156
|
|
13039
|
-
def __init__(self, authentication: Optional["ingest_api_Authentication"] = None, command: Optional[str] = None, default_tag: Optional[str] = None, description: Optional[str] = None, inputs: Optional[List["ingest_api_FileExtractionInput"]] = None, labels: Optional[List[str]] = None, name: Optional[str] = None, output_file_format: Optional["ingest_api_FileOutputFormat"] = None, properties: Optional[Dict[str, str]] = None, tags: Optional[List[str]] = None, timestamp_metadata: Optional["ingest_api_TimestampMetadata"] = None) -> None:
|
13157
|
+
def __init__(self, authentication: Optional["ingest_api_Authentication"] = None, command: Optional[str] = None, default_tag: Optional[str] = None, description: Optional[str] = None, inputs: Optional[List["ingest_api_FileExtractionInput"]] = None, labels: Optional[List[str]] = None, name: Optional[str] = None, output_file_format: Optional["ingest_api_FileOutputFormat"] = None, parameters: Optional[List["ingest_api_FileExtractionParameter"]] = None, properties: Optional[Dict[str, str]] = None, tags: Optional[List[str]] = None, timestamp_metadata: Optional["ingest_api_TimestampMetadata"] = None) -> None:
|
13040
13158
|
self._name = name
|
13041
13159
|
self._description = description
|
13042
13160
|
self._inputs = inputs
|
13161
|
+
self._parameters = parameters
|
13043
13162
|
self._properties = properties
|
13044
13163
|
self._labels = labels
|
13045
13164
|
self._timestamp_metadata = timestamp_metadata
|
@@ -13061,6 +13180,10 @@ class ingest_api_UpdateContainerizedExtractorRequest(ConjureBeanType):
|
|
13061
13180
|
def inputs(self) -> Optional[List["ingest_api_FileExtractionInput"]]:
|
13062
13181
|
return self._inputs
|
13063
13182
|
|
13183
|
+
@builtins.property
|
13184
|
+
def parameters(self) -> Optional[List["ingest_api_FileExtractionParameter"]]:
|
13185
|
+
return self._parameters
|
13186
|
+
|
13064
13187
|
@builtins.property
|
13065
13188
|
def properties(self) -> Optional[Dict[str, str]]:
|
13066
13189
|
return self._properties
|
@@ -13424,12 +13547,13 @@ class ingest_workflow_api_EnsureExtractorJobCreatedRequest(ConjureBeanType):
|
|
13424
13547
|
'tag': ConjureFieldDefinition('tag', str),
|
13425
13548
|
'validated_file_inputs': ConjureFieldDefinition('validatedFileInputs', List[ingest_workflow_api_ValidatedFileInput]),
|
13426
13549
|
'multipart_upload_details': ConjureFieldDefinition('multipartUploadDetails', ingest_workflow_api_MultipartUploadDetails),
|
13427
|
-
'image_pull_secret_name': ConjureFieldDefinition('imagePullSecretName', OptionalTypeWrapper[str])
|
13550
|
+
'image_pull_secret_name': ConjureFieldDefinition('imagePullSecretName', OptionalTypeWrapper[str]),
|
13551
|
+
'arguments': ConjureFieldDefinition('arguments', Dict[ingest_api_EnvironmentVariable, str])
|
13428
13552
|
}
|
13429
13553
|
|
13430
|
-
__slots__: List[str] = ['_bearer_token', '_workspace_rid', '_ingest_job_uuid', '_containerized_extractor', '_tag', '_validated_file_inputs', '_multipart_upload_details', '_image_pull_secret_name']
|
13554
|
+
__slots__: List[str] = ['_bearer_token', '_workspace_rid', '_ingest_job_uuid', '_containerized_extractor', '_tag', '_validated_file_inputs', '_multipart_upload_details', '_image_pull_secret_name', '_arguments']
|
13431
13555
|
|
13432
|
-
def __init__(self, bearer_token: str, containerized_extractor: "ingest_api_ContainerizedExtractor", ingest_job_uuid: str, multipart_upload_details: "ingest_workflow_api_MultipartUploadDetails", tag: str, validated_file_inputs: List["ingest_workflow_api_ValidatedFileInput"], workspace_rid: str, image_pull_secret_name: Optional[str] = None) -> None:
|
13556
|
+
def __init__(self, arguments: Dict[str, str], bearer_token: str, containerized_extractor: "ingest_api_ContainerizedExtractor", ingest_job_uuid: str, multipart_upload_details: "ingest_workflow_api_MultipartUploadDetails", tag: str, validated_file_inputs: List["ingest_workflow_api_ValidatedFileInput"], workspace_rid: str, image_pull_secret_name: Optional[str] = None) -> None:
|
13433
13557
|
self._bearer_token = bearer_token
|
13434
13558
|
self._workspace_rid = workspace_rid
|
13435
13559
|
self._ingest_job_uuid = ingest_job_uuid
|
@@ -13438,6 +13562,7 @@ class ingest_workflow_api_EnsureExtractorJobCreatedRequest(ConjureBeanType):
|
|
13438
13562
|
self._validated_file_inputs = validated_file_inputs
|
13439
13563
|
self._multipart_upload_details = multipart_upload_details
|
13440
13564
|
self._image_pull_secret_name = image_pull_secret_name
|
13565
|
+
self._arguments = arguments
|
13441
13566
|
|
13442
13567
|
@builtins.property
|
13443
13568
|
def bearer_token(self) -> str:
|
@@ -13473,6 +13598,12 @@ class ingest_workflow_api_EnsureExtractorJobCreatedRequest(ConjureBeanType):
|
|
13473
13598
|
"""
|
13474
13599
|
return self._image_pull_secret_name
|
13475
13600
|
|
13601
|
+
@builtins.property
|
13602
|
+
def arguments(self) -> Dict[str, str]:
|
13603
|
+
"""Additional arguments to pass as environment variables to the container.
|
13604
|
+
"""
|
13605
|
+
return self._arguments
|
13606
|
+
|
13476
13607
|
|
13477
13608
|
ingest_workflow_api_EnsureExtractorJobCreatedRequest.__name__ = "EnsureExtractorJobCreatedRequest"
|
13478
13609
|
ingest_workflow_api_EnsureExtractorJobCreatedRequest.__qualname__ = "EnsureExtractorJobCreatedRequest"
|
@@ -73966,6 +74097,7 @@ class scout_favorites_api_FavoriteResource(ConjureUnionType):
|
|
73966
74097
|
_notebook_template: Optional[str] = None
|
73967
74098
|
_checklist: Optional[str] = None
|
73968
74099
|
_saved_view: Optional[str] = None
|
74100
|
+
_procedure: Optional[str] = None
|
73969
74101
|
|
73970
74102
|
@builtins.classmethod
|
73971
74103
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
@@ -73975,7 +74107,8 @@ class scout_favorites_api_FavoriteResource(ConjureUnionType):
|
|
73975
74107
|
'notebook': ConjureFieldDefinition('notebook', scout_rids_api_NotebookRid),
|
73976
74108
|
'notebook_template': ConjureFieldDefinition('notebookTemplate', scout_rids_api_TemplateRid),
|
73977
74109
|
'checklist': ConjureFieldDefinition('checklist', scout_rids_api_ChecklistRid),
|
73978
|
-
'saved_view': ConjureFieldDefinition('savedView', scout_rids_api_SavedViewRid)
|
74110
|
+
'saved_view': ConjureFieldDefinition('savedView', scout_rids_api_SavedViewRid),
|
74111
|
+
'procedure': ConjureFieldDefinition('procedure', api_rids_ProcedureRid)
|
73979
74112
|
}
|
73980
74113
|
|
73981
74114
|
def __init__(
|
@@ -73986,10 +74119,11 @@ class scout_favorites_api_FavoriteResource(ConjureUnionType):
|
|
73986
74119
|
notebook_template: Optional[str] = None,
|
73987
74120
|
checklist: Optional[str] = None,
|
73988
74121
|
saved_view: Optional[str] = None,
|
74122
|
+
procedure: Optional[str] = None,
|
73989
74123
|
type_of_union: Optional[str] = None
|
73990
74124
|
) -> None:
|
73991
74125
|
if type_of_union is None:
|
73992
|
-
if (asset is not None) + (run is not None) + (notebook is not None) + (notebook_template is not None) + (checklist is not None) + (saved_view is not None) != 1:
|
74126
|
+
if (asset is not None) + (run is not None) + (notebook is not None) + (notebook_template is not None) + (checklist is not None) + (saved_view is not None) + (procedure is not None) != 1:
|
73993
74127
|
raise ValueError('a union must contain a single member')
|
73994
74128
|
|
73995
74129
|
if asset is not None:
|
@@ -74010,6 +74144,9 @@ class scout_favorites_api_FavoriteResource(ConjureUnionType):
|
|
74010
74144
|
if saved_view is not None:
|
74011
74145
|
self._saved_view = saved_view
|
74012
74146
|
self._type = 'savedView'
|
74147
|
+
if procedure is not None:
|
74148
|
+
self._procedure = procedure
|
74149
|
+
self._type = 'procedure'
|
74013
74150
|
|
74014
74151
|
elif type_of_union == 'asset':
|
74015
74152
|
if asset is None:
|
@@ -74041,6 +74178,11 @@ class scout_favorites_api_FavoriteResource(ConjureUnionType):
|
|
74041
74178
|
raise ValueError('a union value must not be None')
|
74042
74179
|
self._saved_view = saved_view
|
74043
74180
|
self._type = 'savedView'
|
74181
|
+
elif type_of_union == 'procedure':
|
74182
|
+
if procedure is None:
|
74183
|
+
raise ValueError('a union value must not be None')
|
74184
|
+
self._procedure = procedure
|
74185
|
+
self._type = 'procedure'
|
74044
74186
|
|
74045
74187
|
@builtins.property
|
74046
74188
|
def asset(self) -> Optional[str]:
|
@@ -74066,6 +74208,10 @@ class scout_favorites_api_FavoriteResource(ConjureUnionType):
|
|
74066
74208
|
def saved_view(self) -> Optional[str]:
|
74067
74209
|
return self._saved_view
|
74068
74210
|
|
74211
|
+
@builtins.property
|
74212
|
+
def procedure(self) -> Optional[str]:
|
74213
|
+
return self._procedure
|
74214
|
+
|
74069
74215
|
def accept(self, visitor) -> Any:
|
74070
74216
|
if not isinstance(visitor, scout_favorites_api_FavoriteResourceVisitor):
|
74071
74217
|
raise ValueError('{} is not an instance of scout_favorites_api_FavoriteResourceVisitor'.format(visitor.__class__.__name__))
|
@@ -74081,6 +74227,8 @@ class scout_favorites_api_FavoriteResource(ConjureUnionType):
|
|
74081
74227
|
return visitor._checklist(self.checklist)
|
74082
74228
|
if self._type == 'savedView' and self.saved_view is not None:
|
74083
74229
|
return visitor._saved_view(self.saved_view)
|
74230
|
+
if self._type == 'procedure' and self.procedure is not None:
|
74231
|
+
return visitor._procedure(self.procedure)
|
74084
74232
|
|
74085
74233
|
|
74086
74234
|
scout_favorites_api_FavoriteResource.__name__ = "FavoriteResource"
|
@@ -74114,6 +74262,10 @@ class scout_favorites_api_FavoriteResourceVisitor:
|
|
74114
74262
|
def _saved_view(self, saved_view: str) -> Any:
|
74115
74263
|
pass
|
74116
74264
|
|
74265
|
+
@abstractmethod
|
74266
|
+
def _procedure(self, procedure: str) -> Any:
|
74267
|
+
pass
|
74268
|
+
|
74117
74269
|
|
74118
74270
|
scout_favorites_api_FavoriteResourceVisitor.__name__ = "FavoriteResourceVisitor"
|
74119
74271
|
scout_favorites_api_FavoriteResourceVisitor.__qualname__ = "FavoriteResourceVisitor"
|
@@ -74157,6 +74309,8 @@ class scout_favorites_api_ResourceType(ConjureEnumType):
|
|
74157
74309
|
'''CHECKLIST'''
|
74158
74310
|
SAVED_VIEW = 'SAVED_VIEW'
|
74159
74311
|
'''SAVED_VIEW'''
|
74312
|
+
PROCEDURE = 'PROCEDURE'
|
74313
|
+
'''PROCEDURE'''
|
74160
74314
|
UNKNOWN = 'UNKNOWN'
|
74161
74315
|
'''UNKNOWN'''
|
74162
74316
|
|
@@ -29,6 +29,7 @@ from .._impl import (
|
|
29
29
|
ingest_api_ExistingDatasetIngestDestination as ExistingDatasetIngestDestination,
|
30
30
|
ingest_api_ExistingVideoIngestDestination as ExistingVideoIngestDestination,
|
31
31
|
ingest_api_FileExtractionInput as FileExtractionInput,
|
32
|
+
ingest_api_FileExtractionParameter as FileExtractionParameter,
|
32
33
|
ingest_api_FileFilter as FileFilter,
|
33
34
|
ingest_api_FileFilterVisitor as FileFilterVisitor,
|
34
35
|
ingest_api_FileOutputFormat as FileOutputFormat,
|
@@ -95,6 +96,7 @@ from .._impl import (
|
|
95
96
|
ingest_api_ParquetOpts as ParquetOpts,
|
96
97
|
ingest_api_Part as Part,
|
97
98
|
ingest_api_PartWithSize as PartWithSize,
|
99
|
+
ingest_api_PresignedFileIngestSource as PresignedFileIngestSource,
|
98
100
|
ingest_api_PublicAuthentication as PublicAuthentication,
|
99
101
|
ingest_api_RegisterContainerizedExtractorRequest as RegisterContainerizedExtractorRequest,
|
100
102
|
ingest_api_RegisterContainerizedExtractorResponse as RegisterContainerizedExtractorResponse,
|
@@ -157,6 +159,7 @@ __all__ = [
|
|
157
159
|
'ExistingDatasetIngestDestination',
|
158
160
|
'ExistingVideoIngestDestination',
|
159
161
|
'FileExtractionInput',
|
162
|
+
'FileExtractionParameter',
|
160
163
|
'FileFilter',
|
161
164
|
'FileFilterVisitor',
|
162
165
|
'FileOutputFormat',
|
@@ -222,6 +225,7 @@ __all__ = [
|
|
222
225
|
'ParquetOpts',
|
223
226
|
'Part',
|
224
227
|
'PartWithSize',
|
228
|
+
'PresignedFileIngestSource',
|
225
229
|
'PublicAuthentication',
|
226
230
|
'RegisterContainerizedExtractorRequest',
|
227
231
|
'RegisterContainerizedExtractorResponse',
|
@@ -1,5 +1,5 @@
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
2
|
-
nominal_api/_impl.py,sha256=
|
1
|
+
nominal_api/__init__.py,sha256=azrRFvfkFMEPKiFVkV7E773Y9bAQ_GYoOq67v2rxM_0,2088
|
2
|
+
nominal_api/_impl.py,sha256=Z7q6RGi8lUUi38CqYnJwnA33rX-HII5bV7KETIu6b3g,3804349
|
3
3
|
nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
4
4
|
nominal_api/api/__init__.py,sha256=GqRLE9wwPPQgALVHFJViG8E4JJ2t3yfHedeXRLu1L70,2226
|
5
5
|
nominal_api/api_ids/__init__.py,sha256=sxqN5dMk6bOx0SKOd0ANG3_kmx1VtdSVotzEGn_q6sE,114
|
@@ -15,7 +15,7 @@ nominal_api/datasource_logset/__init__.py,sha256=SGt5PmLgYpLfhcoESk69aVufuZugg8d
|
|
15
15
|
nominal_api/datasource_logset_api/__init__.py,sha256=QydoWxNXCVgIV8HWnZAKA77N5G6mTSqSzGkj36tPe4U,1376
|
16
16
|
nominal_api/datasource_pagination_api/__init__.py,sha256=WeENj6yqi2XfInU8YgjFwqwiR8L0jDHCBZfucJ0ahyY,283
|
17
17
|
nominal_api/event/__init__.py,sha256=_aeR1gPrNTKTqgZ5qh-WmRNNDVjwhKdFfzIwV7LA5Gs,3343
|
18
|
-
nominal_api/ingest_api/__init__.py,sha256=
|
18
|
+
nominal_api/ingest_api/__init__.py,sha256=OZ1xKwsMx_IeFKrVnwYky9sWMymeYrEAHW62cVE_tqo,11156
|
19
19
|
nominal_api/ingest_workflow_api/__init__.py,sha256=pNfJTaKs2pcnt2p5uRJAOmLia5nx8TiFLk8sSAlSI2I,3055
|
20
20
|
nominal_api/module/__init__.py,sha256=0WDeegesyYu_XyFvPJZz8ZdXdTJRJxivU0KEhq8J6ww,4631
|
21
21
|
nominal_api/module_internal/__init__.py,sha256=8bVJ_pfUQ2ZONdAVEJW6hLNABpf6JvEHGgvrS9XHK98,1128
|
@@ -78,7 +78,7 @@ nominal_api/timeseries_seriescache/__init__.py,sha256=hL5hN8jKLEGE_fDiZzdASmWIrR
|
|
78
78
|
nominal_api/timeseries_seriescache_api/__init__.py,sha256=i21vITWBn-6ruVuFZg491TDpx6WcIhJBoF3oNw3w338,1186
|
79
79
|
nominal_api/upload_api/__init__.py,sha256=7-XXuZUqKPV4AMWvxNpZPZ5vBun4x-AomXj3Vol_BN4,123
|
80
80
|
nominal_api/usercreation_api/__init__.py,sha256=Q6M70SlKFVfIxZqRohD4XYmBz5t2DP1DB0a0Q6glqGA,171
|
81
|
-
nominal_api-0.
|
82
|
-
nominal_api-0.
|
83
|
-
nominal_api-0.
|
84
|
-
nominal_api-0.
|
81
|
+
nominal_api-0.941.0.dist-info/METADATA,sha256=tjsw6UWrerHNO4kl8v5i5L3Ia1eZAEPI6xwj0oIMvMI,199
|
82
|
+
nominal_api-0.941.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
83
|
+
nominal_api-0.941.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
84
|
+
nominal_api-0.941.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|