# generated by datamodel-codegen:
#   filename:  complicated_enum.json
#   timestamp: 2019-07-26T00:00:00+00:00

from __future__ import annotations

from enum import Enum

from pydantic import BaseModel


class ProcessingStatus(Enum):
    COMPLETED = 'COMPLETED'
    PENDING = 'PENDING'
    FAILED = 'FAILED'


class Kind(BaseModel):
    __root__: str


class ProcessingTask(BaseModel):
    processing_status_union: ProcessingStatus | None = ProcessingStatus.COMPLETED
    processing_status: ProcessingStatus | None = ProcessingStatus.COMPLETED
    name: str | None = None
    kind: Kind | None = None
