Processing

Properties


Methods

update

update(
   docker_image: Optional[str] = None, docker_tag: Optional[str] = None,
   description: Optional[str] = None, default_parameters: Optional[dict] = None,
   default_cpu: Optional[int] = None, default_gpu: Optional[int] = None
)

Description

Update docker_image, description or default_parameters of Processing.

Examples

processing.update(docker_image='new-image', docker_tag='1.2.0')

Arguments

  • docker_image (str, optional) : New docker image of this Processing. Defaults to None.

  • docker_tag (str, optional) : New docker tag of this Processing. Defaults to None.

  • description (str, optional) : New description of the Processing. Defaults to None.

  • default_parameters (dict, optional) : New default parameters of the Processing. Defaults to None.

  • default_cpu (str or InferenceType, optional) : New default cpu of the Processing. Defaults to None.

  • default_gpu (str or InferenceType, optional) : New default gpu of the Processing. Defaults to None.


delete

delete()

Description

Delete this processing from the platform.

⚠️ DANGER ZONE: Be very careful here!

Examples

processing.delete()

create_dataset_version_processing_constraints

create_dataset_version_processing_constraints(
   input_dataset_version_type: InferenceType = None,
   output_dataset_version_type: InferenceType = None,
   model_version_framework: Framework = None,
   model_version_type: InferenceType = None
)

Description

This method can only be used for processing running on DatasetVersion. So the type of this Processing must be one of:

  • PRE_ANNOTATION
  • DATA_AUGMENTATION
  • DATASET_VERSION_CREATION
  • AUTO_TAGGING
  • AUTO_ANNOTATION

create_datalake_processing_constraints

create_datalake_processing_constraints(
   model_version_framework: Framework = None,
   model_version_type: InferenceType = None
)

Description

This method can only be used for processing running on Datalake. So the type of this Processing must be one of:

  • DATA_AUTO_TAGGING