# generated by datamodel-codegen:
#   filename:  enum_literal_typed_dict.json

from __future__ import annotations

from enum import Enum
from typing import Annotated, Literal

from pydantic import BaseModel, ConfigDict, Field


class Status(str, Enum):
    active = 'active'
    inactive = 'inactive'
    pending = 'pending'


class EnumLiteralTypedDict(BaseModel):
    model_config = ConfigDict(
        populate_by_name=True,
    )
    status: Annotated[Status | None, Field(title='Status')] = None
    priority: Annotated[Literal['high'] | None, Field(title='Priority')] = None
