]> git.ipfire.org Git - thirdparty/httpx.git/commit
Update _client.py (#2247)
authorWill Frey <13784361+willfrey@users.noreply.github.com>
Thu, 26 May 2022 12:53:31 +0000 (08:53 -0400)
committerGitHub <noreply@github.com>
Thu, 26 May 2022 12:53:31 +0000 (13:53 +0100)
commit5b06aea1d64f0815af6fe71da3ac725bed3ec09f
tree50b2bc99cdfc005952a663dba02c20eb3fea03f4
parent89cdd903b2f339c6ae319773c31b8c9352bd9cd8
Update _client.py (#2247)

Update the type annotation for the default_encoding parameter of AsyncClient's initializer to accept a callable of the form (bytes) -> str.
httpx/_client.py