From 65147195457dd4fd48c03d8a406a81f47ef8afbe Mon Sep 17 00:00:00 2001 From: Tatu Aalto Date: Thu, 16 Nov 2023 20:44:55 +0200 Subject: [PATCH] remove debug code --- src/robotlibcore.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/robotlibcore.py b/src/robotlibcore.py index 0d95b29..0c4d9a7 100644 --- a/src/robotlibcore.py +++ b/src/robotlibcore.py @@ -229,9 +229,6 @@ def _get_type_hint(cls, function: Callable): hints = get_type_hints(function) except Exception: # noqa: BLE001 hints = function.__annotations__ - for arg, hint in hints.items(): - if isinstance(hint, ForwardRef): - hint = hint.__forward_arg__ return hints @classmethod