Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .sdk-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.86.0
v2.88.1
8 changes: 4 additions & 4 deletions docs/BinariesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Method | HTTP request | Description


# **download_zipped_binary**
> object download_zipped_binary(binary_id)
> bytearray download_zipped_binary(binary_id)

Downloads a zipped binary with password protection

Expand Down Expand Up @@ -71,7 +71,7 @@ Name | Type | Description | Notes

### Return type

**object**
**bytearray**

### Authorization

Expand All @@ -80,13 +80,13 @@ Name | Type | Description | Notes
### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json
- **Accept**: application/zip, application/json

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Successful Response | - |
**200** | Download file | - |
**422** | Invalid request parameters | - |

[[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)
Expand Down
2 changes: 1 addition & 1 deletion revengai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
""" # noqa: E501


__version__ = "v2.86.0"
__version__ = "v2.88.1"

# Define package exports
__all__ = [
Expand Down
15 changes: 8 additions & 7 deletions revengai/api/binaries_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated

from pydantic import StrictInt
from typing import Any
from pydantic import StrictBytes, StrictInt, StrictStr
from typing import Tuple, Union
from revengai.models.base_response_additional_details_status_response import BaseResponseAdditionalDetailsStatusResponse
from revengai.models.base_response_binaries_related_status_response import BaseResponseBinariesRelatedStatusResponse
from revengai.models.base_response_binary_additional_response import BaseResponseBinaryAdditionalResponse
Expand Down Expand Up @@ -59,7 +59,7 @@ def download_zipped_binary(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> object:
) -> bytearray:
"""Downloads a zipped binary with password protection


Expand Down Expand Up @@ -96,7 +96,7 @@ def download_zipped_binary(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "object",
'200': "bytearray",
'422': "BaseResponse",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -126,7 +126,7 @@ def download_zipped_binary_with_http_info(
_content_type: Optional[StrictStr] = None,
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[object]:
) -> ApiResponse[bytearray]:
"""Downloads a zipped binary with password protection


Expand Down Expand Up @@ -163,7 +163,7 @@ def download_zipped_binary_with_http_info(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "object",
'200': "bytearray",
'422': "BaseResponse",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -230,7 +230,7 @@ def download_zipped_binary_without_preload_content(
)

_response_types_map: Dict[str, Optional[str]] = {
'200': "object",
'200': "bytearray",
'422': "BaseResponse",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -276,6 +276,7 @@ def _download_zipped_binary_serialize(
if 'Accept' not in _header_params:
_header_params['Accept'] = self.api_client.select_header_accept(
[
'application/zip',
'application/json'
]
)
Expand Down
2 changes: 1 addition & 1 deletion revengai/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def __init__(
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/v2.86.0/python'
self.user_agent = 'OpenAPI-Generator/v2.88.1/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
4 changes: 2 additions & 2 deletions revengai/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,8 @@ def to_debug_report(self) -> str:
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: v2.86.0\n"\
"SDK Package Version: v2.86.0".\
"Version of the API: v2.88.1\n"\
"SDK Package Version: v2.88.1".\
format(env=sys.platform, pyversion=sys.version)

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