File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
languages/python/templates Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ class {{classname}}:
3535 @validate_call
3636 { {#asyncio} }async { {/asyncio} }def { {operationId} }{ {> partial_api_args} } -> { {{returnType} }}{ {^returnType} }None{ {/returnType} }:
3737{ {> partial_api} }
38+
3839 response_data = { {#asyncio} }await { {/asyncio} }self.api_client.call_api(
3940 *_param,
4041 _request_timeout=_request_timeout
@@ -49,6 +50,7 @@ class {{classname}}:
4950 @validate_call
5051 { {#asyncio} }async { {/asyncio} }def { {operationId} }_with_http_info{ {> partial_api_args} } -> ApiResponse[{ {{returnType} }}{ {^returnType} }None{ {/returnType} }]:
5152{ {> partial_api} }
53+
5254 response_data = { {#asyncio} }await { {/asyncio} }self.api_client.call_api(
5355 *_param,
5456 _request_timeout=_request_timeout
@@ -63,6 +65,7 @@ class {{classname}}:
6365 @validate_call
6466 { {#asyncio} }async { {/asyncio} }def { {operationId} }_without_preload_content{ {> partial_api_args} } -> RESTResponseType:
6567{ {> partial_api} }
68+
6669 response_data = { {#asyncio} }await { {/asyncio} }self.api_client.call_api(
6770 *_param,
6871 _request_timeout=_request_timeout
You can’t perform that action at this time.
0 commit comments