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
Commits
7fc330cf
Commit
7fc330cf
authored
2 years ago
by
Tim Repke
Browse files
Options
Downloads
Patches
Plain Diff
add AcademicItem to schema endpoint
parent
3f2fced9
No related branches found
No related tags found
1 merge request
!21
Deploy deletion cascades & pipeline integration
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
server/api/routes/annotations.py
+0
-1
0 additions, 1 deletion
server/api/routes/annotations.py
with
0 additions
and
1 deletion
server/api/routes/annotations.py
+
0
−
1
View file @
7fc330cf
...
@@ -154,7 +154,6 @@ async def _construct_annotation_item(assignment: AssignmentModel, project_id: st
...
@@ -154,7 +154,6 @@ async def _construct_annotation_item(assignment: AssignmentModel, project_id: st
if
project
is
None
:
if
project
is
None
:
raise
ProjectNotFoundError
(
f
'
No project found in DB for id
{
project_id
}
'
)
raise
ProjectNotFoundError
(
f
'
No project found in DB for id
{
project_id
}
'
)
item
=
await
read_any_item_by_item_id
(
item_id
=
assignment
.
item_id
,
item_type
=
project
.
type
,
engine
=
db_engine
)
item
=
await
read_any_item_by_item_id
(
item_id
=
assignment
.
item_id
,
item_type
=
project
.
type
,
engine
=
db_engine
)
return
AnnotationItem
(
scheme
=
merged_scheme
,
assignment
=
assignment
,
scope
=
scope
,
item
=
item
)
return
AnnotationItem
(
scheme
=
merged_scheme
,
assignment
=
assignment
,
scope
=
scope
,
item
=
item
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment