Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/objectstate/lazy_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,11 @@
class LazyDataclassFactory:
"""Generic factory for creating lazy dataclasses with flexible resolution."""

@staticmethod
def registered_type_pairs() -> tuple[tuple[Type, Type], ...]:

Check failure on line 799 in src/objectstate/lazy_factory.py

View workflow job for this annotation

GitHub Actions / code-quality

Ruff UP006

Use `type` instead of `Type` for type annotation

Check failure on line 799 in src/objectstate/lazy_factory.py

View workflow job for this annotation

GitHub Actions / code-quality

Ruff UP006

Use `type` instead of `Type` for type annotation
"""Project current lazy/public declarations without constructing values."""
return tuple(_lazy_type_registry.items())




Expand Down
Loading