From 417df16b69f4c3ec703469a5827a4c7ff6cf4dd7 Mon Sep 17 00:00:00 2001 From: David Svenson Date: Fri, 23 Sep 2022 14:13:42 +0100 Subject: [PATCH] Drop dict and Optional from argument type. Fixes #1147. --- django-stubs/template/base.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django-stubs/template/base.pyi b/django-stubs/template/base.pyi index 523e9049d..3fcd726c5 100644 --- a/django-stubs/template/base.pyi +++ b/django-stubs/template/base.pyi @@ -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]: ...