Skip to content

Commit

Permalink
`MutableMapping[str, str | bytes] -> MutableMapping[str, str] | Mutab…
Browse files Browse the repository at this point in the history
…leMapping[str, bytes]`

 + simple assignment in alias definition
  • Loading branch information
janrito committed May 4, 2022
1 parent 3368ce6 commit 0e8ff7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stubs/requests/requests/sessions.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ _Params: TypeAlias = Union[
str | bytes,
]
_TextMapping: TypeAlias = MutableMapping[str, str]
_HeadersMapping: TypeAlias = MutableMapping[str, str | bytes]
_HeadersUpdateMapping: TypeAlias = _HeadersMapping | MutableMapping[str, None]
_HeadersMapping: TypeAlias = MutableMapping[str, str] | MutableMapping[str, bytes]
_HeadersUpdateMapping: TypeAlias = MutableMapping[str, str] | MutableMapping[str, bytes] | MutableMapping[str, None]
_Timeout: TypeAlias = Union[float, tuple[float, float], tuple[float, None]]
_Verify: TypeAlias = bool | str

Expand Down

0 comments on commit 0e8ff7e

Please sign in to comment.