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

from __future__ import annotations

from pydantic import BaseModel, Field


class Thing(BaseModel):
    type: str | None = None
    name: str | None = Field(None, description='First and Last name')


class Person(Thing):
    type: str | None = 'playground:Person'
    name: str = Field(..., description='First and Last name')
    age: int | None = None
