File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/mkdocstrings_handlers/python/_internal Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3636 from collections .abc import Iterable , Iterator , Sequence
3737
3838 from griffe import Attribute , Class , Function , Module
39- from jinja2 import Environment , Template
39+ from jinja2 import Environment
4040 from jinja2 .runtime import Context
4141 from mkdocstrings import CollectorItem
4242
@@ -528,7 +528,7 @@ def formatter(code: str, line_length: int) -> str:
528528@pass_environment
529529# YORE: Bump 2: Replace `env: Environment, ` with `` within line.
530530# YORE: Bump 2: Replace `str | ` with `` within line.
531- def do_get_template (env : Environment , obj : str | Object ) -> str | Template :
531+ def do_get_template (env : Environment , obj : str | Object ) -> str :
532532 """Get the template name used to render an object.
533533
534534 Parameters:
You can’t perform that action at this time.
0 commit comments