Skip to content

Commit 5ed48b2

Browse files
committed
Also change headers attribute type
1 parent 61ad207 commit 5ed48b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

django-stubs/test/client.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class Client(ClientMixin, _RequestFactory[_MonkeyPatchedWSGIResponse]):
188188
raise_request_exception: bool
189189
exc_info: tuple[type[BaseException], BaseException, TracebackType] | None
190190
extra: dict[str, Any] | None
191-
headers: dict[str, Any]
191+
headers: Mapping[str, str] | None
192192
def __init__(
193193
self,
194194
enforce_csrf_checks: bool = ...,
@@ -278,7 +278,7 @@ class AsyncClient(ClientMixin, _AsyncRequestFactory[Awaitable[_MonkeyPatchedASGI
278278
raise_request_exception: bool
279279
exc_info: Any
280280
extra: dict[str, Any] | None
281-
headers: dict[str, Any]
281+
headers: Mapping[str, str] | None
282282
def __init__(
283283
self,
284284
enforce_csrf_checks: bool = ...,

0 commit comments

Comments
 (0)