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

from __future__ import annotations

from pydantic import BaseModel


class Container(BaseModel):
    contained: Namespace1MutuallyRecursive


class Namespace2MutuallyRecursive(BaseModel):
    value: int
    children: list[Namespace1MutuallyRecursive]
    morechildren: list[Namespace2MutuallyRecursive]


class Namespace1MutuallyRecursive(BaseModel):
    label: str
    children: list[Namespace2MutuallyRecursive]
    anotherchild: Namespace2MutuallyRecursive


Container.model_rebuild()
Namespace2MutuallyRecursive.model_rebuild()
