Browse Source
When using 'from __future__ import annotations', the type inside Annotated remains as a string (forward reference). The fix resolves it using get_typed_annotation which calls evaluate_forwardref. Fixes: Can't use Annotated with ForwardRef (#13056)pull/15338/head
1 changed files with 5 additions and 0 deletions
Loading…
Reference in new issue