mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
794d0bccf9
* feat: use partially get_origin and get_args from typing Rework of d86a184072655d93652d6ea941421005f34de962 by @hmvp We cannot directly use `typing.get_origin` and `typing.get_args` for our custom types for which args and origin are wrong by default. But at least we now have a unified behaviour, which can be improved in the near future * feat: add fallback in `get_args` for generics in python 3.9 * feat: add new `_evaluate` for python 3.9 In python 3.9, `typing._evaluate` has a new required positional argument `recursive_guard` * chore: add pragma no cover for python 3.9 fallbacks * chore: add change file * chore: add comments * feat(ci): add python 3.9 support * fix: mypy assumption is wrong