Skip to content

Commit

Permalink
reflect #51 in mustache as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mhamzak008 committed Mar 10, 2021
1 parent ccb9d53 commit 92ec5e2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions templates/api_client.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,13 @@ class ApiClient(object):

# perform request and return response
try:
response_data = {{#asyncio}}await {{/asyncio}}{{#tornado}}yield {{/tornado}}self.retrying.call(fn=self.request, method=method, url=url,
query_params=query_params,
headers=header_params,
post_params=post_params,
body=body,
_preload_content=_preload_content,
_request_timeout=_request_timeout)
response_data = {{#asyncio}}await {{/asyncio}}{{#tornado}}yield {{/tornado}}self.retrying(fn=self.request, method=method, url=url,
query_params=query_params,
headers=header_params,
post_params=post_params,
body=body,
_preload_content=_preload_content,
_request_timeout=_request_timeout)
except Exception as exception:
self._sdk_request_details = {
"query_params": query_params,
Expand Down

0 comments on commit 92ec5e2

Please sign in to comment.