core.services.processing.dataset_version_creation_processing¶
dataset_version_creation_processing
¶
Classes:
Name | Description |
---|---|
DatasetVersionCreationProcessing |
Handles the processing of creating a dataset version. |
DatasetVersionCreationProcessing(client, datalake, output_dataset_version)
¶
Handles the processing of creating a dataset version.
This class offers all the necessary methods to handle a processing of type DatasetVersionCreation of Picsellia. It allows to upload images to the datalake, add them to a dataset version, and update the dataset version with the necessary information.
Attributes:
Name | Type | Description |
---|---|---|
client |
Client
|
The Picsellia client to use for the processing. |
datalake(Datalake) |
Client
|
The Datalake to use for the processing. |
output_dataset_version |
DatasetVersion
|
The dataset version to create. |
Methods:
Name | Description |
---|---|
update_output_dataset_version_description |
Updates the description of the output dataset version. |
update_output_dataset_version_inference_type |
Updates the inference type of the output dataset version. |
process |
Processes the dataset version creation. |
client = client
instance-attribute
¶
output_dataset_version = output_dataset_version
instance-attribute
¶
datalake = datalake
instance-attribute
¶
update_output_dataset_version_description(description)
¶
Updates the description of the output dataset version.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
str
|
The new description to set for the dataset version. |
required |
update_output_dataset_version_inference_type(inference_type)
¶
Updates the inference type of the output dataset version.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
InferenceType
|
The new inference type to set for the dataset version. |
required |
process()
abstractmethod
¶
Processes the dataset version creation.