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

from __future__ import annotations

from typing import Any, Optional, Union

from pydantic import BaseModel, Field


class ConstWithProps1(BaseModel):
    invalid: Optional[Any] = None


class ConstWithProps(BaseModel):
    __root__: Union[ConstWithProps1, str] = Field(..., title='ConstWithProps')
