From f576c5c30f8159f7a0bee9a79a8eb4d7756fa1db Mon Sep 17 00:00:00 2001 From: Tristan Simas Date: Sat, 3 Oct 2026 01:02:26 -0400 Subject: [PATCH] Use builtin type annotations for registered declaration projection --- src/objectstate/lazy_factory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/objectstate/lazy_factory.py b/src/objectstate/lazy_factory.py index 01601d5..498e884 100644 --- a/src/objectstate/lazy_factory.py +++ b/src/objectstate/lazy_factory.py @@ -796,7 +796,7 @@ class LazyDataclassFactory: """Generic factory for creating lazy dataclasses with flexible resolution.""" @staticmethod - def registered_type_pairs() -> tuple[tuple[Type, Type], ...]: + def registered_type_pairs() -> tuple[tuple[type, type], ...]: """Project current lazy/public declarations without constructing values.""" return tuple(_lazy_type_registry.items())