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

from __future__ import annotations

from typing import Literal

from pydantic import BaseModel, Field


class Config(BaseModel):
    mode: Literal['fast', 'slow'] | None = Field(None, title='Mode')
    modes: list[Literal['a', 'b']] | None = None
