Skip to content

Commit 11a1738

Browse files
authored
Drop dict and Optional from argument type (#1160)
Fixes #1147.
1 parent 4664bb3 commit 11a1738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django-stubs/template/base.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class Template:
5757
name: str | None = ...,
5858
engine: Engine | None = ...,
5959
) -> None: ...
60-
def render(self, context: Context | dict[str, Any] | None) -> SafeString: ...
60+
def render(self, context: Context) -> SafeString: ...
6161
def compile_nodelist(self) -> NodeList: ...
6262
def get_exception_info(self, exception: Exception, token: Token) -> dict[str, Any]: ...
6363

0 commit comments

Comments
 (0)