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:
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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user