1
0
mirror of https://github.com/Rapptz/discord.py.git synced 2025-05-15 02:09:49 +00:00

Catch TypeError for unhashable annotation types

This commit is contained in:
Rapptz 2023-06-04 07:52:09 -04:00
parent 6b6cbc44ce
commit 223e95a252

@ -750,7 +750,7 @@ def get_supported_annotation(
try:
return (_mapping[annotation], MISSING, True)
except KeyError:
except (KeyError, TypeError):
pass
if isinstance(annotation, Transformer):