File tree 1 file changed +2
-2
lines changed
src/mkdocstrings_handlers/python/_internal
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 36
36
from collections .abc import Iterable , Iterator , Sequence
37
37
38
38
from griffe import Attribute , Class , Function , Module
39
- from jinja2 import Environment , Template
39
+ from jinja2 import Environment
40
40
from jinja2 .runtime import Context
41
41
from mkdocstrings import CollectorItem
42
42
@@ -528,7 +528,7 @@ def formatter(code: str, line_length: int) -> str:
528
528
@pass_environment
529
529
# YORE: Bump 2: Replace `env: Environment, ` with `` within line.
530
530
# 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 :
532
532
"""Get the template name used to render an object.
533
533
534
534
Parameters:
You can’t perform that action at this time.
0 commit comments