# generated by datamodel-codegen:
#   filename:  invalid_dotted_name_priority.yaml

from pydantic import BaseModel


class BarModel(BaseModel):
    a: str | None = None


class Bar(BaseModel):
    b: int | None = None


class FooModel(BaseModel):
    value: str | None = None


class InvalidParent(BaseModel):
    child: FooModel | None = None


class Foo(BaseModel):
    value: str | None = None


class CanonicalParent(BaseModel):
    child: Foo | None = None
