Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Fix ApiRequest.from_request
Browse files Browse the repository at this point in the history
  • Loading branch information
alexamici committed Sep 12, 2023
1 parent bc93f4f commit 251e5b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cads_api_client/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def from_request(
retry_options: Dict[str, Any] = {"maximum_tries": 2, "retry_after": 10},
**kwargs: Any,
) -> T_ApiResponse:
response = multiurl.robust(session.request(*args, **kwargs), **retry_options)
response = multiurl.robust(session.request, **retry_options)(*args, **kwargs)
if raise_for_status:
cads_raise_for_status(response)
self = cls(response, headers=kwargs.get("headers", {}), session=session)
Expand Down

0 comments on commit 251e5b2

Please sign in to comment.