Skip to content

Commit

Permalink
fix: Unwrap Annotated regardless of signature_crossrefs
Browse files Browse the repository at this point in the history
Issue-249: #249
  • Loading branch information
pawamoy committed Feb 17, 2025
1 parent b557ff3 commit d809f1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Context:
{#- Prepare type annotation. -#}
{%- if config.show_signature_annotations and parameter.annotation is not none -%}
{%- set ns.equal = " = " -%}
{%- if config.separate_signature and config.signature_crossrefs -%}
{%- if config.separate_signature -%}
{%- with expression = parameter.annotation -%}
{%- set ns.annotation -%}: {% include "expression"|get_template with context %}{%- endset -%}
{%- endwith -%}
Expand Down

0 comments on commit d809f1a

Please sign in to comment.