From 4502365d51b58bec063627834e765ee4e1375851 Mon Sep 17 00:00:00 2001 From: bswck Date: Thu, 24 Oct 2024 18:41:21 +0200 Subject: [PATCH] Allow recursion to follow default dict flow --- injection/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/injection/main.py b/injection/main.py index 9ad9dc9..d7b76cb 100644 --- a/injection/main.py +++ b/injection/main.py @@ -64,8 +64,7 @@ def __hash__(self) -> int: def default_recursion_guard(early: EarlyObject[object]) -> Never: - msg = f"{early} requested itself" - raise RecursionError(msg) + pass @dataclass