Skip to content

Commit

Permalink
Update cvat/apps/engine/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Maria Khrustaleva <maria@cvat.ai>
  • Loading branch information
bsekachev and Marishka17 authored May 23, 2024
1 parent fbff394 commit bf054ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cvat/apps/engine/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def define_dependent_job(
all_user_jobs = []
for q, f in zip(queues, filters):
job_ids = q.get_job_ids()
jobs = queue.job_class.fetch_many(job_ids, queue.connection)
jobs = q.job_class.fetch_many(job_ids, q.connection)
jobs = filter(lambda job: job.meta.get("user", {}).get("id") == user_id and f(job), jobs)
all_user_jobs.extend(jobs)

Expand Down

0 comments on commit bf054ce

Please sign in to comment.