Skip to content

Commit

Permalink
Specify that Request.parser_context can never be None (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
intgr committed Oct 4, 2023
1 parent d31cc85 commit c1c8db5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest_framework-stubs/request.pyi
Expand Up @@ -45,7 +45,7 @@ class Request(HttpRequest):
parsers: Sequence[BaseParser] | None
authenticators: Sequence[BaseAuthentication | ForcedAuthentication] | None
negotiator: BaseContentNegotiation | None
parser_context: dict[str, Any] | None
parser_context: dict[str, Any]
version: str | None
versioning_scheme: BaseVersioning | None
_request: HttpRequest
Expand Down

0 comments on commit c1c8db5

Please sign in to comment.