We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7009637 commit b92ba3bCopy full SHA for b92ba3b
src/mkdocstrings_handlers/python/templates/material/_base/signature.html
@@ -38,7 +38,7 @@
38
{%- endif -%}
39
{%- endfor -%}
40
)
41
- {%- if config.show_signature_annotations and "return_annotation" in signature %} -> {{ signature.return_annotation }}{%- endif -%}
+ {%- if config.show_signature_annotations and function.annotation %} -> {{ function.annotation }}{%- endif -%}
42
43
{%- endwith -%}
44
0 commit comments