Skip to content

Commit 4ed8393

Browse files
authored
fix: set download_zipped_binary response type to file on successful requests to fix deserialization
1 parent f6fee40 commit 4ed8393

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

revengai/api/binaries_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def download_zipped_binary(
9696
)
9797

9898
_response_types_map: Dict[str, Optional[str]] = {
99-
'200': "object",
99+
'200': "file",
100100
'422': "BaseResponse",
101101
}
102102
response_data = self.api_client.call_api(
@@ -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': "file",
167167
'422': "BaseResponse",
168168
}
169169
response_data = self.api_client.call_api(

0 commit comments

Comments
 (0)