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

from __future__ import annotations

from mymodule.node import Node as Node_aliased
from mymodule.other import Other
from pydantic import BaseModel, ConfigDict


class BaseItem(BaseModel):
    id: str | None = None


class MyModel(BaseItem):
    model_config = ConfigDict(
        arbitrary_types_allowed=True,
    )
    Node: Node_aliased | None = None
    Node2: Node_aliased | None = None
    other: Other | None = None
    name: str | None = None
