Skip to content

Commit

Permalink
fix(RequestRunner): add files to use them on request post method (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
acostapazo authored Jan 5, 2024
1 parent 16ca638 commit 686b7c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions alice/onboarding/models/request_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ def post_with(
url_path: str,
json: Union[Dict[str, Any], None] = None,
data: Union[Dict[str, Any], None] = None,
files: Union[Dict[str, Any], None] = None,
) -> Response:
return self.session.post(
f"{self.base_url}/{url_path}",
json=json,
data=data,
files=files,
headers=self.headers,
timeout=self.timeout,
)
Expand Down

0 comments on commit 686b7c6

Please sign in to comment.