Skip to content

Commit

Permalink
Drop dict and Optional from argument type.
Browse files Browse the repository at this point in the history
Fixes #1147.
  • Loading branch information
Majsvaffla committed Jul 4, 2023
1 parent a7982d4 commit 417df16
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 @@ -58,7 +58,7 @@ class Template:
engine: Engine | None = ...,
) -> None: ...
def __iter__(self) -> Iterator[Node]: ...
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 417df16

Please sign in to comment.