High-level problem description
@dataclass_input auto-converts dataclass compatible inputs (like dictionaries) into DataClass objects (like Ephem). It can determine the dataclass from type annotations. However, type annotations will be lazily evaluated in the future, which is not compatible with @dataclass_input. This can be demonstrated today on any module using @dataclass_input by adding from __future__ import annotations at the top of the file.
Possible resolution
Python 3.14 added the annotationlib module. Perhaps this should be used in our decorators? https://docs.python.org/3/library/annotationlib.html#module-annotationlib
High-level problem description
@dataclass_inputauto-converts dataclass compatible inputs (like dictionaries) intoDataClassobjects (likeEphem). It can determine the dataclass from type annotations. However, type annotations will be lazily evaluated in the future, which is not compatible with@dataclass_input. This can be demonstrated today on any module using@dataclass_inputby addingfrom __future__ import annotationsat the top of the file.Possible resolution
Python 3.14 added the annotationlib module. Perhaps this should be used in our decorators? https://docs.python.org/3/library/annotationlib.html#module-annotationlib