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

from __future__ import annotations

from pydantic import BaseModel, ConfigDict, Field

from . import file_b


class PersonA(BaseModel):
    model_config = ConfigDict(
        extra='forbid',
    )
    name: str | None = Field(None, title='name')
    pet: file_b.Cat | file_b.Dog | None = Field(None, title='pet')
