# generated by datamodel-codegen:
#   filename:  <stdin>
#   timestamp: 1985-10-26T08:21:00+00:00

from __future__ import annotations

from pydantic import BaseModel, Field
from tests.data.python.input_model.pydantic_models import CustomGenericDict


class ModelWithCustomGeneric(BaseModel):
    custom_dict: CustomGenericDict[str, int] = Field(..., title='Custom Dict')
    optional_custom_dict: CustomGenericDict[str, str] | None = Field(
        ..., title='Optional Custom Dict'
    )
