recordtransfer.jobs - Background Tasks and Jobs

Each function in the jobs.py file is a django_rq.job, meaning that these functions are meant to run asynchronously with a Redis server.

recordtransfer.jobs.create_downloadable_bag(submission: Submission, user_triggered: User)

Create a zipped BagIt bag that a user can download through a Job.

Parameters:
  • submission (Submission) – The submission to create a BagIt bag for

  • user_triggered (User) – The user who triggered this new Job creation