Skip to content

Commit 525c87a

Browse files
authored
fix(python): add missing service import for examples
1 parent 05a9855 commit 525c87a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/python/docs/example.md.twig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from {{ spec.title | caseSnake }}.client import Client
2+
from {{ spec.title | caseSnake }}.services.{{ service.name | caseSnake }} import {{ service.name | caseUcfirst }}
23
{% if method.parameters.all | filter((param) => param.type == 'file') | length > 0 %}
34
from {{ spec.title | caseSnake }}.input_file import InputFile
45
{% endif %}

0 commit comments

Comments
 (0)