From 525c87a628e08965e5fcac781ca53dd7e628f864 Mon Sep 17 00:00:00 2001 From: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com> Date: Fri, 20 Dec 2024 15:50:06 -0800 Subject: [PATCH] fix(python): add missing service import for examples --- templates/python/docs/example.md.twig | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/python/docs/example.md.twig b/templates/python/docs/example.md.twig index 813976f1c..54e93ed08 100644 --- a/templates/python/docs/example.md.twig +++ b/templates/python/docs/example.md.twig @@ -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 %}