Closed
Description
Feature or enhancement
Let's say you have a dict of some custom annotations like I have in #122262
How users are expected to convert say an annotation dict of {'user': CustomUser[AuthToken], 'auth_callback': Callable[[CustomUser[T]], T]} to string?
There are several ways right now:
reprfor simple types, which might not work for complex ones- but, it requires complex
Lines 466 to 501 in 536bc8a
annotateobject - but it is a private API
Lines 2955 to 2956 in 536bc8a
I propose adding a public and documented API for that.