]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Tweak `files` type hints (#976)
authorFlorimond Manca <florimond.manca@gmail.com>
Thu, 21 May 2020 15:34:45 +0000 (17:34 +0200)
committerGitHub <noreply@github.com>
Thu, 21 May 2020 15:34:45 +0000 (17:34 +0200)
httpx/_types.py

index f124bf702421bfc72fc506c468bb8f5b44e1cffd..f5f17c5e10f29665629a122037553dd6917ad92a 100644 (file)
@@ -65,4 +65,4 @@ FileTypes = Union[
     # (filename, file (or text), content_type)
     Tuple[Optional[str], FileContent, Optional[str]],
 ]
-RequestFiles = Dict[str, FileTypes]
+RequestFiles = Mapping[str, FileTypes]