Skip to content

Commit 8c0d207

Browse files
committed
fix: python
1 parent 5a59c8e commit 8c0d207

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

templates/python/api.mustache

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,6 @@ class {{classname}}{{#isSyncClient}}Sync{{/isSyncClient}}:
173173
_data = {{paramName}}
174174
{{/bodyParam}}
175175

176-
{{#vendorExtensions.x-timeouts}}
177-
{{/vendorExtensions.x-timeouts}}
178-
179176
return {{^isSyncClient}}await {{/isSyncClient}}self._transporter.request(
180177
verb=Verb.{{httpMethod}},
181178
path={{#vendorExtensions}}'{{{path}}}'{{#pathParams}}.replace({{=<% %>=}}'{<%baseName%>}'<%={{ }}=%>, {{#x-is-custom-request}}{{paramName}}{{/x-is-custom-request}}{{^x-is-custom-request}}quote(str({{paramName}}), safe=''){{/x-is-custom-request}}){{/pathParams}},{{/vendorExtensions}}

templates/ruby/api.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,4 +187,4 @@ module {{moduleName}}
187187
{{/isSearchClient}}
188188
end
189189
{{/operations}}
190-
end
190+
end

0 commit comments

Comments
 (0)