Skip to content

Commit

Permalink
fix(python): add missing service import for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
stnguyen90 authored Dec 20, 2024
1 parent 05a9855 commit 525c87a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/python/docs/example.md.twig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from {{ spec.title | caseSnake }}.client import Client
from {{ spec.title | caseSnake }}.services.{{ service.name | caseSnake }} import {{ service.name | caseUcfirst }}
{% if method.parameters.all | filter((param) => param.type == 'file') | length > 0 %}
from {{ spec.title | caseSnake }}.input_file import InputFile
{% endif %}
Expand Down

0 comments on commit 525c87a

Please sign in to comment.