Skip to content

core.services.context.processing_groups

processing_groups

Group ProcessingType values by the context family they use.

Functions:

Name Description
is_dataset_processing
is_datalake_processing
is_model_processing

Attributes:

Name Type Description
DATASET_PROCESSING_TYPES frozenset[ProcessingType]
DATALAKE_PROCESSING_TYPES frozenset[ProcessingType]
MODEL_PROCESSING_TYPES frozenset[ProcessingType]
PRE_ANNOTATION_LIKE_TYPES frozenset[ProcessingType]
DATASET_VERSION_OUTPUT_TYPES frozenset[ProcessingType]

DATASET_PROCESSING_TYPES = frozenset({ProcessingType.PRE_ANNOTATION, ProcessingType.DATASET_VERSION_CREATION, ProcessingType.DATA_AUGMENTATION, ProcessingType.AUTO_ANNOTATION}) module-attribute

DATALAKE_PROCESSING_TYPES = frozenset({ProcessingType.DATA_AUTO_TAGGING, ProcessingType.AUTO_TAGGING}) module-attribute

MODEL_PROCESSING_TYPES = frozenset({ProcessingType.MODEL_CONVERSION, ProcessingType.MODEL_COMPRESSION}) module-attribute

PRE_ANNOTATION_LIKE_TYPES = frozenset({ProcessingType.PRE_ANNOTATION, ProcessingType.AUTO_ANNOTATION}) module-attribute

DATASET_VERSION_OUTPUT_TYPES = frozenset({ProcessingType.DATASET_VERSION_CREATION, ProcessingType.DATA_AUGMENTATION}) module-attribute

is_dataset_processing(processing_type)

is_datalake_processing(processing_type)

is_model_processing(processing_type)