From 19e414398813822ccf965530c14ca2196a2c4c59 Mon Sep 17 00:00:00 2001 From: Giacomo Galloni Date: Wed, 2 Oct 2024 14:06:09 +0200 Subject: [PATCH] Clean --- cobaya/component.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/cobaya/component.py b/cobaya/component.py index c1b5cdde..ac60523c 100644 --- a/cobaya/component.py +++ b/cobaya/component.py @@ -475,9 +475,6 @@ def _validate_type(self, expected_type, value): return self._validate_composite_type(expected_type, value) else: # Exceptions for some types - # if isinstance(expected_type, ForwardRef): # for custom types as ParamDict - # if "Dict" in expected_type.__forward_arg__: - # expected_type = dict if expected_type is ParamDict: return isinstance(value, dict) elif expected_type is int: