]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix: use a correct recursive definition for DumperKey
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 4 Nov 2022 15:47:08 +0000 (16:47 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 4 Nov 2022 15:52:22 +0000 (16:52 +0100)
commit2e924a2900561111f0806c00adf2fcc84229849f
treebb39adc01ea0a7e1dfdcb8582799916e66600a0a
parent5acb61464502dd7ca9ebd1c51b724ca472a4778d
fix: use a correct recursive definition for DumperKey

Already supported in current Mypy: https://github.com/python/mypy/issues/731.

The definition of DumperKey was wrong anyway, in a way causing mypy to
crash: see https://github.com/python/mypy/issues/14000.
psycopg/psycopg/abc.py
psycopg/psycopg/adapt.py
psycopg/psycopg/types/array.py
psycopg/psycopg/types/multirange.py
psycopg/psycopg/types/range.py
pyproject.toml
tests/adapters_example.py