Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
geomag-algorithms
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ghsc
National Geomagnetism Program
geomag-algorithms
Merge requests
!73
Something went wrong on our end
Return metadata from PUT
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Return metadata from PUT
ghsc/users/pcain/geomag-algorithms:issue-9
into
master
Overview
7
Commits
4
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Merged
Cain, Payton David
requested to merge
ghsc/users/pcain/geomag-algorithms:issue-9
into
master
4 years ago
Overview
7
Commits
4
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Expand
Fixes
#9 (closed)
0
0
Merge request reports
Viewing commit
8a79203e
Prev
Next
Show latest version
1 file
+
3
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
8a79203e
Use await when calling get_metadata_by_id
· 8a79203e
Jeremy M Fee
authored
4 years ago
geomagio/api/secure/metadata.py
+
3
−
1
Options
@@ -93,4 +93,6 @@ async def update_metadata(
user
:
User
=
Depends
(
require_user
([
os
.
getenv
(
"
REVIEWER_GROUP
"
,
"
reviewer
"
)])),
):
await
metadata_table
.
update_metadata
(
metadata
)
return
get_metadata_by_id
(
metadata
.
id
)
# should be same, but read from database
return
await
get_metadata_by_id
(
metadata
.
id
)
Loading