code: def list_job_ids(self, skip=0, limit=20):
          
  
          return [str(x["_id"]) for x in self.collection.find(
              {"status": "queued"},
              sort=[("_id", -1 if self.is_reverse else 1)],
              projection={"_id": 1})
          ]
docs: Returns a list of job ids on a queue