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

from __future__ import annotations

from typing import TypeAlias

from msgspec import Struct


class StartedEvent(Struct, tag_field='type', tag='started'):
    pass


class StoppedEvent(Struct, tag_field='type', tag='stopped'):
    pass


Event: TypeAlias = StartedEvent | StoppedEvent
