Skip to content

Commit

Permalink
Merge branch 'main' into 18-allow-positional-only-arguments-in-functions
Browse files Browse the repository at this point in the history
  • Loading branch information
teald committed Nov 29, 2022
2 parents 52c98b2 + 266db82 commit 0033ca8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions porchlight/utils/typing_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []

Expand Down

0 comments on commit 0033ca8

Please sign in to comment.