From 266db828206571304289e610996713ec2c14ea04 Mon Sep 17 00:00:00 2001 From: Teal Date: Mon, 28 Nov 2022 16:41:08 -0800 Subject: [PATCH] Update typing_functions.py --- porchlight/utils/typing_functions.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/porchlight/utils/typing_functions.py b/porchlight/utils/typing_functions.py index d05a71d..0a6dd6d 100644 --- a/porchlight/utils/typing_functions.py +++ b/porchlight/utils/typing_functions.py @@ -28,12 +28,6 @@ def decompose_type( are ignored. These are only for *resolvable* types at return, such as Tuples, Lists, and Iterables. Callables are excluded by default. """ - # Catch non-types - # if not isinstance(typevar, typing.Type): - # """Cannot decompose non-typing.Type object.""" - # msg = f"typevar must be a type (typing.Type), not {type(typevar)}" - # logger.error(msg) - # raise TypeError(msg) all_types = []