Skip to content

Commit 8d5099f

Browse files
authored
Merge pull request #83 from RevEngAI/sdk-update-v2.88.1
🤖 Update SDK to version v2.88.1
2 parents f6fee40 + 8c6434d commit 8d5099f

6 files changed

Lines changed: 17 additions & 16 deletions

File tree

.sdk-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2.86.0
1+
v2.88.1

docs/BinariesApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Method | HTTP request | Description
1515

1616

1717
# **download_zipped_binary**
18-
> object download_zipped_binary(binary_id)
18+
> bytearray download_zipped_binary(binary_id)
1919
2020
Downloads a zipped binary with password protection
2121

@@ -71,7 +71,7 @@ Name | Type | Description | Notes
7171

7272
### Return type
7373

74-
**object**
74+
**bytearray**
7575

7676
### Authorization
7777

@@ -80,13 +80,13 @@ Name | Type | Description | Notes
8080
### HTTP request headers
8181

8282
- **Content-Type**: Not defined
83-
- **Accept**: application/json
83+
- **Accept**: application/zip, application/json
8484

8585
### HTTP response details
8686

8787
| Status code | Description | Response headers |
8888
|-------------|-------------|------------------|
89-
**200** | Successful Response | - |
89+
**200** | Download file | - |
9090
**422** | Invalid request parameters | - |
9191

9292
[[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)

revengai/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
""" # noqa: E501
1414

1515

16-
__version__ = "v2.86.0"
16+
__version__ = "v2.88.1"
1717

1818
# Define package exports
1919
__all__ = [

revengai/api/binaries_api.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
from typing import Any, Dict, List, Optional, Tuple, Union
1616
from typing_extensions import Annotated
1717

18-
from pydantic import StrictInt
19-
from typing import Any
18+
from pydantic import StrictBytes, StrictInt, StrictStr
19+
from typing import Tuple, Union
2020
from revengai.models.base_response_additional_details_status_response import BaseResponseAdditionalDetailsStatusResponse
2121
from revengai.models.base_response_binaries_related_status_response import BaseResponseBinariesRelatedStatusResponse
2222
from revengai.models.base_response_binary_additional_response import BaseResponseBinaryAdditionalResponse
@@ -59,7 +59,7 @@ def download_zipped_binary(
5959
_content_type: Optional[StrictStr] = None,
6060
_headers: Optional[Dict[StrictStr, Any]] = None,
6161
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
62-
) -> object:
62+
) -> bytearray:
6363
"""Downloads a zipped binary with password protection
6464
6565
@@ -96,7 +96,7 @@ def download_zipped_binary(
9696
)
9797

9898
_response_types_map: Dict[str, Optional[str]] = {
99-
'200': "object",
99+
'200': "bytearray",
100100
'422': "BaseResponse",
101101
}
102102
response_data = self.api_client.call_api(
@@ -126,7 +126,7 @@ def download_zipped_binary_with_http_info(
126126
_content_type: Optional[StrictStr] = None,
127127
_headers: Optional[Dict[StrictStr, Any]] = None,
128128
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
129-
) -> ApiResponse[object]:
129+
) -> ApiResponse[bytearray]:
130130
"""Downloads a zipped binary with password protection
131131
132132
@@ -163,7 +163,7 @@ def download_zipped_binary_with_http_info(
163163
)
164164

165165
_response_types_map: Dict[str, Optional[str]] = {
166-
'200': "object",
166+
'200': "bytearray",
167167
'422': "BaseResponse",
168168
}
169169
response_data = self.api_client.call_api(
@@ -230,7 +230,7 @@ def download_zipped_binary_without_preload_content(
230230
)
231231

232232
_response_types_map: Dict[str, Optional[str]] = {
233-
'200': "object",
233+
'200': "bytearray",
234234
'422': "BaseResponse",
235235
}
236236
response_data = self.api_client.call_api(
@@ -276,6 +276,7 @@ def _download_zipped_binary_serialize(
276276
if 'Accept' not in _header_params:
277277
_header_params['Accept'] = self.api_client.select_header_accept(
278278
[
279+
'application/zip',
279280
'application/json'
280281
]
281282
)

revengai/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def __init__(
9090
self.default_headers[header_name] = header_value
9191
self.cookie = cookie
9292
# Set default User-Agent.
93-
self.user_agent = 'OpenAPI-Generator/v2.86.0/python'
93+
self.user_agent = 'OpenAPI-Generator/v2.88.1/python'
9494
self.client_side_validation = configuration.client_side_validation
9595

9696
def __enter__(self):

revengai/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,8 +533,8 @@ def to_debug_report(self) -> str:
533533
return "Python SDK Debug Report:\n"\
534534
"OS: {env}\n"\
535535
"Python Version: {pyversion}\n"\
536-
"Version of the API: v2.86.0\n"\
537-
"SDK Package Version: v2.86.0".\
536+
"Version of the API: v2.88.1\n"\
537+
"SDK Package Version: v2.88.1".\
538538
format(env=sys.platform, pyversion=sys.version)
539539

540540
def get_host_settings(self) -> List[HostSetting]:

0 commit comments

Comments
 (0)