Skip to content
Myr

doc: Update comments about file types in _types.py (#1898)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* doc: Update comments about file types in _types.py https://github.com/encode/httpx/discussions/1897 * Update httpx/_types.py

authored by Adrian Garcia Badaracco · committed by GitHub · parent fa03b48 · Browse files · 1 file+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: Tom Christie <tom@tomchristie.com>

Diff stats

1 file+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:httpx/_types.py+3 added-3 removed
81 unmodified lines
82RequestData = dict8384FileContent = Union[IO[bytes], bytes]85FileTypes = Union[86 # file (or text)86 # file (or bytes)87 FileContent,88 # (filename, file (or text))88 # (filename, file (or bytes))89 Tuple[Optional[str], FileContent],90 # (filename, file (or text), content_type)90 # (filename, file (or bytes), content_type)91 Tuple[Optional[str], FileContent, Optional[str]],92]93RequestFiles = Union[Mapping[str, FileTypes], Sequence[Tuple[str, FileTypes]]]94
56 unmodified lines