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
!104
Main
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Main
main
into
production
Overview
0
Commits
2
Pipelines
1
Changes
11
Merged
Tim Repke
requested to merge
main
into
production
6 months ago
Overview
0
Commits
2
Pipelines
1
Changes
11
Expand
0
0
Merge request reports
Viewing commit
7751e1a7
Prev
Next
Show latest version
11 files
+
103
−
28
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
11
Search (e.g. *.vue) (Ctrl+P)
7751e1a7
session updates and news endoint
· 7751e1a7
Tim Repke
authored
6 months ago
server/api/routes/project/__init__.py
+
1
−
1
Options
@@ -32,7 +32,7 @@ async def get_project(permission=Depends(UserPermissionChecker())) -> ProjectMod
async
def
save_project
(
project_info
:
ProjectModel
,
permission
=
Depends
(
UserPermissionChecker
(
'
owner
'
)))
->
str
:
pkey
=
await
upsert_orm
(
upsert_model
=
project_info
,
Schema
=
Project
,
primary_key
=
'
project_id
'
,
skip_update
=
[
'
project_id
'
],
db_engine
=
db_engine
)
skip_update
=
[
'
project_id
'
],
db_engine
=
db_engine
,
use_commit
=
True
)
return
str
(
pkey
)
Loading