-
-
Notifications
You must be signed in to change notification settings - Fork 410
Closed
Labels
Description
Line 213 in aa50117
| anns = getattr(cls, "__annotations__", {}) |
__annotations__
However, it looks as though an upcoming incompatible change to Python will change __annotations__ into a list of strings.
It seems like the correct public API to use to retrieve the information attrs wants would be get_type_hints.
As a bonus, fixing this might make #265 easier to implement.