We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b39762 commit 58a84d0Copy full SHA for 58a84d0
src/superannotate/lib/infrastructure/services/http_client.py
@@ -169,7 +169,10 @@ def paginate(
169
res_data=pydantic.parse_obj_as(List[item_type], total),
170
)
171
else:
172
- response = ServiceResponse(res_data=total)
+ response = ServiceResponse(
173
+ status=_response.status,
174
+ res_data=total,
175
+ )
176
if not _response.ok:
177
response.set_error(_response.error)
178
response.status = _response.status
0 commit comments