Skip to content

Commit

Permalink
Merge branch 'main' of github.com:fractal-analytics-platform/fractal-…
Browse files Browse the repository at this point in the history
…client
  • Loading branch information
tcompa committed Jan 11, 2024
2 parents eeb0bbc + 29cc3ab commit 62b09f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

* Always make new users verified, within `user register` command (\#580).
* Expose verification-related features in `user edit` command (\#580).
* Update expected status code of stop-job to 202 (\#585).
* Testing:
* Adapt `job_factory` to new strict response-validation models in `fractal-server` (\#580).
* Adapt `job_factory` by including the `timestamp_created` attribute (\#582).
Expand Down
2 changes: 1 addition & 1 deletion fractal_client/cmd/_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ async def stop_job(
res = await client.get(
f"{settings.BASE_URL}/project/{project_id}/job/{job_id}/stop/"
)
check_response(res, expected_status_code=200)
check_response(res, expected_status_code=202)
return PrintInterface(
retcode=0, data="Correctly called the job-stopping endpoint"
)
4 changes: 2 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 62b09f7

Please sign in to comment.