Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
NACSOS Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MCC APSIS
NACSOS
NACSOS Core
Merge requests
!54
Fix validation error for annotation resolver
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix validation error for annotation resolver
master
into
production
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Tim Repke
requested to merge
master
into
production
1 year ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Viewing commit
25c1443c
Show latest version
1 file
+
2
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
25c1443c
Fix validation error for annotation resolver
· 25c1443c
Tim Repke
authored
1 year ago
server/api/routes/annotations.py
+
2
−
1
Options
@@ -512,13 +512,14 @@ async def get_resolved_annotations(strategy: ResolutionMethod,
key
=
key
,
repeat
=
repeat
,
)
print
(
filters
)
if
ignore_hierarchy
is
None
:
ignore_hierarchy
=
False
if
ignore_order
is
None
:
ignore_order
=
False
scheme
,
flat_labels
,
collection
,
resolved
=
\
await
get_resolved_item_annotations
(
strategy
=
strategy
,
filters
=
AnnotationFilterObject
.
model_validate
(
filters
),
filters
=
AnnotationFilterObject
.
model_validate
(
filters
.
model_dump
()
),
ignore_order
=
ignore_order
,
ignore_hierarchy
=
ignore_hierarchy
,
db_engine
=
db_engine
)
Loading