Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
4c45f78c
Commit
4c45f78c
authored
Aug 07, 2019
by
Markus Scheidgen
Browse files
Return all calcs of upload in mirror API.
parent
1c60db62
Pipeline
#53361
passed with stages
in 19 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nomad/api/mirror.py
View file @
4c45f78c
...
...
@@ -90,6 +90,6 @@ class MirrorUploadResource(Resource):
return
{
'upload_id'
:
upload
.
upload_id
,
'upload'
:
upload
.
to_json
(),
'calcs'
:
[
calc
.
to_json
()
for
calc
in
upload
.
calcs
],
'calcs'
:
[
calc
.
to_json
()
for
calc
in
proc
.
Calc
.
objects
(
upload_id
=
upload
.
upload_id
)
],
'upload_files_path'
:
upload
.
upload_files
.
os_path
},
200
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment