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

from __future__ import annotations

from typing import Optional, Union

from pydantic import BaseModel, Field

from . import file_b


class PersonC(BaseModel):
    name: Optional[str] = Field(None, title='name')
    pet: Optional[Union[file_b.Cat, file_b.Dog]] = Field(None, title='pet')

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

from __future__ import annotations

from typing import Optional, Union

from pydantic import BaseModel, Field

from . import file_b


class PersonC(BaseModel):
    name: Optional[str] = Field(None, title='name')
    pet: Optional[Union[file_b.Cat, file_b.Dog]] = Field(None, title='pet')

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