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
!42
fix mypy flake
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix mypy flake
master
into
production
Overview
0
Commits
1
Pipelines
1
Changes
3
Merged
Tim Repke
requested to merge
master
into
production
1 year ago
Overview
0
Commits
1
Pipelines
1
Changes
3
Expand
0
0
Merge request reports
Compare
production
production (base)
and
latest version
latest version
84bcdbbb
1 commit,
1 year ago
3 files
+
11
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
server/api/routes/annotations.py
+
2
−
3
Options
@@ -2,16 +2,15 @@ import uuid
from
typing
import
TYPE_CHECKING
from
pydantic
import
BaseModel
from
sqlalchemy
import
select
,
asc
,
join
,
and_
,
text
from
sqlalchemy
import
select
,
text
from
sqlalchemy.orm
import
load_only
from
sqlalchemy.dialects.postgresql
import
json
from
fastapi
import
APIRouter
,
Depends
,
HTTPException
,
status
as
http_status
,
Query
from
nacsos_data.db.schemas
import
\
BotAnnotationMetaData
,
\
AssignmentScope
,
\
User
,
\
Annotation
,
Assignment
Annotation
from
nacsos_data.models.annotations
import
\
AnnotationSchemeModel
,
\
AssignmentScopeModel
,
\
Loading