Skip to content

Commit a4a8f9f

Browse files
OpenAPI: Regenerates API Bindings (#53)
* Regenerates API Bindings * Update setup.py
1 parent e47b8b1 commit a4a8f9f

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

docs/JobsApi.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ Name | Type | Description | Notes
551551
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
552552

553553
# **download_job**
554-
> download_job(job_id)
554+
> str download_job(job_id)
555555
556556
Download a Job
557557

@@ -601,7 +601,8 @@ with lilt.ApiClient(configuration) as api_client:
601601

602602
try:
603603
# Download a Job
604-
api_instance.download_job(job_id)
604+
api_response = api_instance.download_job(job_id)
605+
pprint(api_response)
605606
except ApiException as e:
606607
print("Exception when calling JobsApi->download_job: %s\n" % e)
607608
```
@@ -648,7 +649,8 @@ with lilt.ApiClient(configuration) as api_client:
648649

649650
try:
650651
# Download a Job
651-
api_instance.download_job(job_id)
652+
api_response = api_instance.download_job(job_id)
653+
pprint(api_response)
652654
except ApiException as e:
653655
print("Exception when calling JobsApi->download_job: %s\n" % e)
654656
```
@@ -661,7 +663,7 @@ Name | Type | Description | Notes
661663

662664
### Return type
663665

664-
void (empty response body)
666+
**str**
665667

666668
### Authorization
667669

lilt/api/jobs_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ def download_job(self, job_id, **kwargs): # noqa: E501
514514
number provided, it will be total request
515515
timeout. It can also be a pair (tuple) of
516516
(connection, read) timeouts.
517-
:return: None
517+
:return: str
518518
If the method is called asynchronously,
519519
returns the request thread.
520520
"""
@@ -541,7 +541,7 @@ def download_job_with_http_info(self, job_id, **kwargs): # noqa: E501
541541
number provided, it will be total request
542542
timeout. It can also be a pair (tuple) of
543543
(connection, read) timeouts.
544-
:return: None
544+
:return: tuple(str, status_code(int), headers(HTTPHeaderDict))
545545
If the method is called asynchronously,
546546
returns the request thread.
547547
"""
@@ -602,7 +602,7 @@ def download_job_with_http_info(self, job_id, **kwargs): # noqa: E501
602602
body=body_params,
603603
post_params=form_params,
604604
files=local_var_files,
605-
response_type=None, # noqa: E501
605+
response_type='str', # noqa: E501
606606
auth_settings=auth_settings,
607607
async_req=local_var_params.get('async_req'),
608608
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501

0 commit comments

Comments
 (0)