datafiles icon indicating copy to clipboard operation
datafiles copied to clipboard

Handle postponed evaluation of annotations (PEP 563)

Open jacebrowning opened this issue 6 years ago • 2 comments

List[int] cannot be mapped to a converter when lazy annotations are enabled (from __future__ import annotations).

jacebrowning avatar Sep 30 '19 04:09 jacebrowning

This is blocked until https://github.com/python/cpython/pull/9518 is merged.

jacebrowning avatar Oct 01 '19 23:10 jacebrowning

https://github.com/samuelcolvin/pydantic/issues/2678 provides a good overview of the types of issues we'll need to overcome here was well.

jacebrowning avatar Apr 17 '21 21:04 jacebrowning