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

from __future__ import annotations

from typing import TypeAlias, Union

from msgspec import Struct


class Defaults(Struct):
    a: list[Span]


class SpanB(Struct):
    recur: list[Span]


Either: TypeAlias = Union[SpanB, "Span"]


class Span(Struct):
    recur: list[Either]
