]> git.ipfire.org Git - thirdparty/psycopg.git/commit
refactor: drop dnspython implementation of resolve_hostaddr_async
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 3 Jul 2022 01:44:41 +0000 (02:44 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 3 Jul 2022 01:44:41 +0000 (02:44 +0100)
commit8fc54284cf8a339d133c05ea1c6453c5db99cc07
tree75b52e6793d19cb1939174d5d6ea7aaac2bc5b65
parent775669c7304f3c6567df083814b0d2b4d1ea85a9
refactor: drop dnspython implementation of resolve_hostaddr_async

Expose the asyncio function in the _dns module, but mark it deprecated,
because the connection perform async resolution on its own.
psycopg/psycopg/_dns.py
tests/test_dns.py