Skip to content

Commit 63fb9af

Browse files
requests: Add None to a type alias (#7721)
Fixes #7720
1 parent bfa9188 commit 63fb9af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stubs/requests/requests/sessions.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ _Auth: TypeAlias = Union[tuple[str, str], _auth.AuthBase, Callable[[PreparedRequ
5050
_Cert: TypeAlias = Union[str, tuple[str, str]]
5151
_Files: TypeAlias = (
5252
MutableMapping[str, IO[Any]]
53-
| MutableMapping[str, tuple[str, IO[Any]]]
54-
| MutableMapping[str, tuple[str, IO[Any], str]]
55-
| MutableMapping[str, tuple[str, IO[Any], str, _TextMapping]]
53+
| MutableMapping[str, tuple[str | None, IO[Any]]]
54+
| MutableMapping[str, tuple[str | None, IO[Any], str]]
55+
| MutableMapping[str, tuple[str | None, IO[Any], str, _TextMapping]]
5656
)
5757
_Hook: TypeAlias = Callable[[Response], Any]
5858
_Hooks: TypeAlias = MutableMapping[str, _Hook | list[_Hook]]

0 commit comments

Comments
 (0)