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

from __future__ import annotations

from msgspec import UNSET, Struct, UnsetType, convert, field


class Inner(Struct):
    v: float | UnsetType = UNSET


class Model(Struct):
    vals: list[float] | UnsetType = field(default_factory=lambda: [float('inf'), 1.5])
    inner: Inner | UnsetType = field(
        default_factory=lambda: convert({'v': float('inf')}, type=Inner)
    )
