Skip to content

Commit

Permalink
Merge pull request #1022 from appwrite/fix-84-missing-service-import
Browse files Browse the repository at this point in the history
Add missing service import for Python examples
  • Loading branch information
stnguyen90 authored Dec 22, 2024
2 parents 05a9855 + 525c87a commit 4732e40
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 4732e40

Please sign in to comment.