Skip to content

Commit 54ababa

Browse files
Automatically update python client (ref: Cosmo-Tech/cosmotech-api@0e9d4d3)
Co-authored-by: Leopold-Cramer <Leopold-Cramer@users.noreply.github.com>
1 parent fbca0df commit 54ababa

6 files changed

Lines changed: 9 additions & 24 deletions

File tree

.openapi-generator/FILES

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ cosmotech_api/models/run.py
5757
cosmotech_api/models/run_container.py
5858
cosmotech_api/models/run_data.py
5959
cosmotech_api/models/run_data_query.py
60-
cosmotech_api/models/run_logs.py
61-
cosmotech_api/models/run_logs_entry.py
6260
cosmotech_api/models/run_resource_requested.py
6361
cosmotech_api/models/run_state.py
6462
cosmotech_api/models/run_status.py
@@ -148,8 +146,6 @@ docs/RunApi.md
148146
docs/RunContainer.md
149147
docs/RunData.md
150148
docs/RunDataQuery.md
151-
docs/RunLogs.md
152-
docs/RunLogsEntry.md
153149
docs/RunResourceRequested.md
154150
docs/RunState.md
155151
docs/RunStatus.md
@@ -247,8 +243,6 @@ test/test_run_api.py
247243
test/test_run_container.py
248244
test/test_run_data.py
249245
test/test_run_data_query.py
250-
test/test_run_logs.py
251-
test/test_run_logs_entry.py
252246
test/test_run_resource_requested.py
253247
test/test_run_state.py
254248
test/test_run_status.py

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,6 @@ Class | Method | HTTP request | Description
254254
- [RunContainer](docs/RunContainer.md)
255255
- [RunData](docs/RunData.md)
256256
- [RunDataQuery](docs/RunDataQuery.md)
257-
- [RunLogs](docs/RunLogs.md)
258-
- [RunLogsEntry](docs/RunLogsEntry.md)
259257
- [RunResourceRequested](docs/RunResourceRequested.md)
260258
- [RunState](docs/RunState.md)
261259
- [RunStatus](docs/RunStatus.md)

cosmotech_api/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@
7777
from cosmotech_api.models.run_container import RunContainer
7878
from cosmotech_api.models.run_data import RunData
7979
from cosmotech_api.models.run_data_query import RunDataQuery
80-
from cosmotech_api.models.run_logs import RunLogs
81-
from cosmotech_api.models.run_logs_entry import RunLogsEntry
8280
from cosmotech_api.models.run_resource_requested import RunResourceRequested
8381
from cosmotech_api.models.run_state import RunState
8482
from cosmotech_api.models.run_status import RunStatus

cosmotech_api/api/run_api.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
from cosmotech_api.models.run import Run
2525
from cosmotech_api.models.run_data import RunData
2626
from cosmotech_api.models.run_data_query import RunDataQuery
27-
from cosmotech_api.models.run_logs import RunLogs
2827
from cosmotech_api.models.run_status import RunStatus
2928
from cosmotech_api.models.send_run_data_request import SendRunDataRequest
3029

@@ -674,7 +673,7 @@ def get_run_logs(
674673
_content_type: Optional[StrictStr] = None,
675674
_headers: Optional[Dict[StrictStr, Any]] = None,
676675
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
677-
) -> RunLogs:
676+
) -> str:
678677
"""get the logs for the Run
679678
680679
@@ -720,7 +719,7 @@ def get_run_logs(
720719
)
721720

722721
_response_types_map: Dict[str, Optional[str]] = {
723-
'200': "RunLogs",
722+
'200': "str",
724723
}
725724
response_data = self.api_client.call_api(
726725
*_param,
@@ -752,7 +751,7 @@ def get_run_logs_with_http_info(
752751
_content_type: Optional[StrictStr] = None,
753752
_headers: Optional[Dict[StrictStr, Any]] = None,
754753
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
755-
) -> ApiResponse[RunLogs]:
754+
) -> ApiResponse[str]:
756755
"""get the logs for the Run
757756
758757
@@ -798,7 +797,7 @@ def get_run_logs_with_http_info(
798797
)
799798

800799
_response_types_map: Dict[str, Optional[str]] = {
801-
'200': "RunLogs",
800+
'200': "str",
802801
}
803802
response_data = self.api_client.call_api(
804803
*_param,
@@ -876,7 +875,7 @@ def get_run_logs_without_preload_content(
876875
)
877876

878877
_response_types_map: Dict[str, Optional[str]] = {
879-
'200': "RunLogs",
878+
'200': "str",
880879
}
881880
response_data = self.api_client.call_api(
882881
*_param,
@@ -930,8 +929,7 @@ def _get_run_logs_serialize(
930929
if 'Accept' not in _header_params:
931930
_header_params['Accept'] = self.api_client.select_header_accept(
932931
[
933-
'application/json',
934-
'application/yaml'
932+
'text/plain'
935933
]
936934
)
937935

cosmotech_api/models/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@
5353
from cosmotech_api.models.run_container import RunContainer
5454
from cosmotech_api.models.run_data import RunData
5555
from cosmotech_api.models.run_data_query import RunDataQuery
56-
from cosmotech_api.models.run_logs import RunLogs
57-
from cosmotech_api.models.run_logs_entry import RunLogsEntry
5856
from cosmotech_api.models.run_resource_requested import RunResourceRequested
5957
from cosmotech_api.models.run_state import RunState
6058
from cosmotech_api.models.run_status import RunStatus

docs/RunApi.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Name | Type | Description | Notes
172172
[[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)
173173

174174
# **get_run_logs**
175-
> RunLogs get_run_logs(organization_id, workspace_id, runner_id, run_id)
175+
> str get_run_logs(organization_id, workspace_id, runner_id, run_id)
176176
177177
get the logs for the Run
178178

@@ -182,7 +182,6 @@ get the logs for the Run
182182

183183
```python
184184
import cosmotech_api
185-
from cosmotech_api.models.run_logs import RunLogs
186185
from cosmotech_api.rest import ApiException
187186
from pprint import pprint
188187

@@ -231,7 +230,7 @@ Name | Type | Description | Notes
231230

232231
### Return type
233232

234-
[**RunLogs**](RunLogs.md)
233+
**str**
235234

236235
### Authorization
237236

@@ -240,7 +239,7 @@ Name | Type | Description | Notes
240239
### HTTP request headers
241240

242241
- **Content-Type**: Not defined
243-
- **Accept**: application/json, application/yaml
242+
- **Accept**: text/plain
244243

245244
### HTTP response details
246245

0 commit comments

Comments
 (0)