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 67157b0 commit 6634e0fCopy full SHA for 6634e0f
src/lapidary/render/templates/render/includes/module/response.py.jinja
@@ -11,10 +11,10 @@ import {{ imp }}
11
12
class {{item.body.name}}(ResponseEnvelope):
13
{%- if item.body.body_type %}
14
- body: Annotated[{{th.type_hint(item.body.body_type)}}, ResponseBody()]
+ body: typing.Annotated[{{th.type_hint(item.body.body_type)}}, ResponseBody()]
15
{%- endif -%}
16
17
{%- for header in item.body.headers %}
18
- {{header.name}}: Annotated[{{ th.type_hint(header.type)}}, {{ header.annotation}}('{{header.alias}}')]
+ {{header.name}}: typing.Annotated[{{ th.type_hint(header.type)}}, {{ header.annotation}}('{{header.alias}}')]
19
{%- endfor -%}
20
{{''}}
0 commit comments