Skip to content
Snippets Groups Projects

RQ overrides

Merged Erwan Rouchet requested to merge rq-overrides into master
  • Adds Job.set_description to update the existing description attribute without updating the entire job
  • Adds Job.get_progress and Job.set_progress to update a new float attribute on a Job indicating progress
  • Add user_id to the Job a registry to list all jobs for a user
  • Add an endpoint to list jobs by user ID for connected user

No more obstacles :tada:

Implementation notes:

  • Some tests are broken due to broken permissions; IsVerified seemingly behaves like IsVerifiedOrReadOnly #554 (closed)
  • Element deletions have almost no progress indication for now as .trash(delete_children=True) calls .trash(delete_children=False), making progress reports extra complex.
  • The rq module was initially called arkindex.project.rq but got renamed to arkindex.project.rq_overrides because, only in CI, Python would get confused between the real rq and this module.
Edited by Erwan Rouchet

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading