Skip to content

Commit

Permalink
Drop dict and Optional from argument type (#1160)
Browse files Browse the repository at this point in the history
Fixes #1147.
  • Loading branch information
Majsvaffla committed Apr 19, 2024
1 parent 4664bb3 commit 11a1738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django-stubs/template/base.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Template:
name: str | None = ...,
engine: Engine | None = ...,
) -> None: ...
def render(self, context: Context | dict[str, Any] | None) -> SafeString: ...
def render(self, context: Context) -> SafeString: ...
def compile_nodelist(self) -> NodeList: ...
def get_exception_info(self, exception: Exception, token: Token) -> dict[str, Any]: ...

Expand Down

0 comments on commit 11a1738

Please sign in to comment.