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

from __future__ import annotations

from typing import Any, List, Optional

from pydantic import BaseModel, Field


class Model(BaseModel):
    __root__: Any


class Pet(BaseModel):
    name: Optional[str] = Field(None, examples=['dog', 'cat'])
    friends: Optional[List[Pet]] = None


Pet.update_forward_refs()
