Source code for labelbox.schema.enums

from enum import Enum


[docs]class BulkImportRequestState(Enum): """ State of the import job when importing annotations (RUNNING, FAILED, or FINISHED). If you are not usinig MEA continue using BulkImportRequest. AnnotationImports are in beta and will change soon. .. list-table:: :widths: 15 150 :header-rows: 1 * - State - Description * - RUNNING - Indicates that the import job is not done yet. * - FAILED - Indicates the import job failed. Check `BulkImportRequest.errors` for more information * - FINISHED - Indicates the import job is no longer running. Check `BulkImportRequest.statuses` for more information """ RUNNING = "RUNNING" FAILED = "FAILED" FINISHED = "FINISHED"
[docs]class AnnotationImportState(Enum): """ State of the import job when importing annotations (RUNNING, FAILED, or FINISHED). .. list-table:: :widths: 15 150 :header-rows: 1 * - State - Description * - RUNNING - Indicates that the import job is not done yet. * - FAILED - Indicates the import job failed. Check `AnnotationImport.errors` for more information * - FINISHED - Indicates the import job is no longer running. Check `AnnotationImport.statuses` for more information """ RUNNING = "RUNNING" FAILED = "FAILED" FINISHED = "FINISHED"
[docs]class ImportType(Enum): MODEL_ERROR_ANALYSIS = "MODEL_ERROR_ANALYSIS" MODEL_ASSISTED_LABELING = "MODEL_ASSISTED_LABELING"