Skip to content

Commit

Permalink
[IMP] delivery_seur_atlas: pre-commit checks are a little picky
Browse files Browse the repository at this point in the history
  • Loading branch information
IJOL committed Nov 14, 2024
1 parent 86360be commit ee71fa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions delivery_seur_atlas/models/seur_request_atlas.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def _set_token(self):
"username": self.user,
"password": self.password,
},
timeout=30
timeout=30,
)
self._log_request()
if not self.response.ok:
Expand All @@ -104,7 +104,7 @@ def request(self, request_method, seur_method, **kwargs):
"method": request_method,
"url": urljoin(self.api_url, f"/pic/v1/{seur_method}"),
"headers": {"Authorization": f"Bearer {self.token}"},
"timeout": 30
"timeout": 30,
}
if request_method in ["POST", "PUT"]:
request_params["json"] = kwargs.get("payload", {})
Expand Down

0 comments on commit ee71fa7

Please sign in to comment.