Skip to content

Commit c1c8db5

Browse files
authored
Specify that Request.parser_context can never be None (#476)
1 parent d31cc85 commit c1c8db5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework-stubs/request.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class Request(HttpRequest):
4545
parsers: Sequence[BaseParser] | None
4646
authenticators: Sequence[BaseAuthentication | ForcedAuthentication] | None
4747
negotiator: BaseContentNegotiation | None
48-
parser_context: dict[str, Any] | None
48+
parser_context: dict[str, Any]
4949
version: str | None
5050
versioning_scheme: BaseVersioning | None
5151
_request: HttpRequest

0 commit comments

Comments
 (0)