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

from __future__ import annotations

from pydantic import BaseModel as _BaseModel
from pydantic import ConfigDict


class BaseModel(_BaseModel):
    model_config = ConfigDict(
        extra='forbid',
    )


class Animal(BaseModel):
    name: str | None = None
