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

from __future__ import annotations

from pydantic import BaseModel, Field


class User(BaseModel):
    name: str


class Model(BaseModel):
    user_with_title: User | None = Field(
        None,
        description='A user reference with additional metadata',
        title='User with Title',
    )
