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

from __future__ import annotations

from msgspec import UNSET, Struct, UnsetType


class Base(Struct):
    kind: str | UnsetType = 'base'
    note: str | UnsetType = UNSET


class Child(Base, kw_only=True):
    id: int


class Model(Struct):
    child: Child | UnsetType = UNSET
