Skip to content

Commit 40a12b1

Browse files
Automatically update python client (ref: Cosmo-Tech/cosmotech-api@0ee4268)
Co-authored-by: jreynard-code <jreynard-code@users.noreply.github.com>
1 parent 54ababa commit 40a12b1

2 files changed

Lines changed: 30 additions & 20 deletions

File tree

cosmotech_api/api/workspace_api.py

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,8 @@ def _create_dataset_link_serialize(
314314
if 'Accept' not in _header_params:
315315
_header_params['Accept'] = self.api_client.select_header_accept(
316316
[
317-
'application/json'
317+
'application/json',
318+
'application/yaml'
318319
]
319320
)
320321

@@ -590,7 +591,8 @@ def _create_workspace_serialize(
590591
if 'Accept' not in _header_params:
591592
_header_params['Accept'] = self.api_client.select_header_accept(
592593
[
593-
'application/json'
594+
'application/json',
595+
'application/yaml'
594596
]
595597
)
596598

@@ -1231,7 +1233,8 @@ def _create_workspace_file_serialize(
12311233
if 'Accept' not in _header_params:
12321234
_header_params['Accept'] = self.api_client.select_header_accept(
12331235
[
1234-
'application/json'
1236+
'application/json',
1237+
'application/yaml'
12351238
]
12361239
)
12371240

@@ -2920,7 +2923,8 @@ def _get_workspace_serialize(
29202923
if 'Accept' not in _header_params:
29212924
_header_params['Accept'] = self.api_client.select_header_accept(
29222925
[
2923-
'application/json'
2926+
'application/json',
2927+
'application/yaml'
29242928
]
29252929
)
29262930

@@ -3781,7 +3785,8 @@ def _get_workspace_security_serialize(
37813785
if 'Accept' not in _header_params:
37823786
_header_params['Accept'] = self.api_client.select_header_accept(
37833787
[
3784-
'application/json'
3788+
'application/json',
3789+
'application/yaml'
37853790
]
37863791
)
37873792

@@ -4057,7 +4062,8 @@ def _list_workspace_files_serialize(
40574062
if 'Accept' not in _header_params:
40584063
_header_params['Accept'] = self.api_client.select_header_accept(
40594064
[
4060-
'application/json'
4065+
'application/json',
4066+
'application/yaml'
40614067
]
40624068
)
40634069

@@ -4345,7 +4351,8 @@ def _list_workspace_role_permissions_serialize(
43454351
if 'Accept' not in _header_params:
43464352
_header_params['Accept'] = self.api_client.select_header_accept(
43474353
[
4348-
'application/json'
4354+
'application/json',
4355+
'application/yaml'
43494356
]
43504357
)
43514358

@@ -4914,7 +4921,8 @@ def _list_workspaces_serialize(
49144921
if 'Accept' not in _header_params:
49154922
_header_params['Accept'] = self.api_client.select_header_accept(
49164923
[
4917-
'application/json'
4924+
'application/json',
4925+
'application/yaml'
49184926
]
49194927
)
49204928

@@ -5208,7 +5216,8 @@ def _update_workspace_serialize(
52085216
if 'Accept' not in _header_params:
52095217
_header_params['Accept'] = self.api_client.select_header_accept(
52105218
[
5211-
'application/json'
5219+
'application/json',
5220+
'application/yaml'
52125221
]
52135222
)
52145223

@@ -5834,7 +5843,8 @@ def _update_workspace_default_security_serialize(
58345843
if 'Accept' not in _header_params:
58355844
_header_params['Accept'] = self.api_client.select_header_accept(
58365845
[
5837-
'application/json'
5846+
'application/json',
5847+
'application/yaml'
58385848
]
58395849
)
58405850

docs/WorkspaceApi.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Name | Type | Description | Notes
9292
### HTTP request headers
9393

9494
- **Content-Type**: Not defined
95-
- **Accept**: application/json
95+
- **Accept**: application/json, application/yaml
9696

9797
### HTTP response details
9898

@@ -170,7 +170,7 @@ Name | Type | Description | Notes
170170
### HTTP request headers
171171

172172
- **Content-Type**: application/json, application/yaml
173-
- **Accept**: application/json
173+
- **Accept**: application/json, application/yaml
174174

175175
### HTTP response details
176176

@@ -330,7 +330,7 @@ Name | Type | Description | Notes
330330
### HTTP request headers
331331

332332
- **Content-Type**: multipart/form-data
333-
- **Accept**: application/json
333+
- **Accept**: application/json, application/yaml
334334

335335
### HTTP response details
336336

@@ -778,7 +778,7 @@ Name | Type | Description | Notes
778778
### HTTP request headers
779779

780780
- **Content-Type**: Not defined
781-
- **Accept**: application/json
781+
- **Accept**: application/json, application/yaml
782782

783783
### HTTP response details
784784

@@ -1009,7 +1009,7 @@ Name | Type | Description | Notes
10091009
### HTTP request headers
10101010

10111011
- **Content-Type**: Not defined
1012-
- **Accept**: application/json
1012+
- **Accept**: application/json, application/yaml
10131013

10141014
### HTTP response details
10151015

@@ -1085,7 +1085,7 @@ Name | Type | Description | Notes
10851085
### HTTP request headers
10861086

10871087
- **Content-Type**: Not defined
1088-
- **Accept**: application/json
1088+
- **Accept**: application/json, application/yaml
10891089

10901090
### HTTP response details
10911091

@@ -1162,7 +1162,7 @@ Name | Type | Description | Notes
11621162
### HTTP request headers
11631163

11641164
- **Content-Type**: Not defined
1165-
- **Accept**: application/json
1165+
- **Accept**: application/json, application/yaml
11661166

11671167
### HTTP response details
11681168

@@ -1314,7 +1314,7 @@ Name | Type | Description | Notes
13141314
### HTTP request headers
13151315

13161316
- **Content-Type**: Not defined
1317-
- **Accept**: application/json
1317+
- **Accept**: application/json, application/yaml
13181318

13191319
### HTTP response details
13201320

@@ -1392,7 +1392,7 @@ Name | Type | Description | Notes
13921392
### HTTP request headers
13931393

13941394
- **Content-Type**: application/json, application/yaml
1395-
- **Accept**: application/json
1395+
- **Accept**: application/json, application/yaml
13961396

13971397
### HTTP response details
13981398

@@ -1553,7 +1553,7 @@ Name | Type | Description | Notes
15531553
### HTTP request headers
15541554

15551555
- **Content-Type**: application/json, application/yaml
1556-
- **Accept**: application/json
1556+
- **Accept**: application/json, application/yaml
15571557

15581558
### HTTP response details
15591559

0 commit comments

Comments
 (0)