Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arkindex
Backend
Merge requests
!2264
New Process Dataset Sets management
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
New Process Dataset Sets management
process-dataset-sets
into
master
Overview
6
Commits
6
Pipelines
0
Changes
30
All threads resolved!
Hide all comments
Merged
ml bonhomme
requested to merge
process-dataset-sets
into
master
1 year ago
Overview
6
Commits
6
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Expand
closes
#1719 (closed)
requires
!2256 (merged)
Edited
1 year ago
by
ml bonhomme
0
0
Merge request reports
Compare
version 3
version 9
8d1dd424
11 months ago
version 8
7b5112f0
11 months ago
version 7
2d71eae7
11 months ago
version 6
b4f3e162
1 year ago
version 5
dd0b188d
1 year ago
version 4
d9f46330
1 year ago
version 3
b6ca6836
1 year ago
version 2
704b0b7b
1 year ago
version 1
5c113dbd
1 year ago
master (base)
and
version 4
latest version
6b77be71
6 commits,
11 months ago
version 9
8d1dd424
5 commits,
11 months ago
version 8
7b5112f0
4 commits,
11 months ago
version 7
2d71eae7
13 commits,
11 months ago
version 6
b4f3e162
13 commits,
1 year ago
version 5
dd0b188d
12 commits,
1 year ago
version 4
d9f46330
11 commits,
1 year ago
version 3
b6ca6836
11 commits,
1 year ago
version 2
704b0b7b
11 commits,
1 year ago
version 1
5c113dbd
11 commits,
1 year ago
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
arkindex/process/api.py
+
1
−
1
Options
@@ -564,7 +564,7 @@ class StartProcess(CorpusACLMixin, CreateAPIView):
"
model_version__model
"
,
"
configuration
"
,
)))
.
prefetch_related
(
Prefetch
(
"
sets
"
,
queryset
=
DatasetSet
.
objects
.
select_related
(
"
dataset
__corpus
"
)))
.
prefetch_related
(
Prefetch
(
"
sets
"
,
queryset
=
DatasetSet
.
objects
.
select_related
(
"
dataset
"
)))
# Uses Exists() for has_tasks and not a __isnull because we are not joining on tasks and do not need to fetch them
.
annotate
(
has_tasks
=
Exists
(
Task
.
objects
.
filter
(
process
=
OuterRef
(
"
pk
"
))))
)
Loading