A dacite fork with PEP 585 & PEP 604 typehint support in Python 3.8+. See the original project for documentation.
dacite-retrofit
is available on PyPI:
pip install dacite-retrofit
It can also be installed from source:
pip install git+https://github.com/trag1c/dacite-retrofit.git
Warning
Unlike dacite
(which supports Python 3.6+), dacite-retrofit
only supports
Python 3.8+.
This fork uses poetry
, black
, mypy
, pytest
and isort
:
$ poetry run black .
$ poetry run mypy dacite
$ poetry run pytest --cov dacite
$ poetry run isort .
Originally created by Konrad Hałas.