You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Correctly reading annotations change a lot in 3.10. The intent is to simplify things but our code does need to be adapted.
the best practice is now to use inspect.get_annotations(eval_str=True) to get the de-stringified annotations.
Still things need to be checked concerning inheritance behaviours.
Correctly reading annotations change a lot in 3.10. The intent is to simplify things but our code does need to be adapted.
the best practice is now to use
inspect.get_annotations(eval_str=True)
to get the de-stringified annotations.Still things need to be checked concerning inheritance behaviours.
https://docs.python.org/3/howto/annotations.html
The text was updated successfully, but these errors were encountered: