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

from __future__ import annotations

from pydantic import BaseModel


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


class LeftBranch(BaseInterface):
    left_value: str | None = None


class RightBranch(BaseInterface):
    right_value: str | None = None


class DiamondType(LeftBranch, RightBranch, BaseInterface):
    """
    Diamond inheritance pattern - inherits from both LeftBranch and RightBranch which both inherit from BaseInterface
    """

    diamond_value: str | None = None


class Model(DiamondType):
    pass
