Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
File Transfer Service
fts-rest
Commits
b9ed3327
Commit
b9ed3327
authored
Jun 02, 2021
by
Mihai Patrascoiu
Browse files
When loading a bulk submission, file fields should take priority over job parameter fields
parent
53a92a5e
Pipeline
#2677255
passed with stage
in 2 minutes and 32 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/fts3/rest/client/submitter.py
View file @
b9ed3327
...
...
@@ -47,10 +47,12 @@ class Submitter(object):
del
job
[
'params'
][
'checksum'
]
if
'filesize'
in
job
[
'params'
]:
for
f
in
job
[
'files'
]:
if
'filesize'
not
in
f
:
f
[
'filesize'
]
=
job
[
'params'
][
'filesize'
]
del
job
[
'params'
][
'filesize'
]
if
'file_metadata'
in
job
[
'params'
]:
for
f
in
job
[
'files'
]:
if
'metadata'
not
in
f
:
f
[
'metadata'
]
=
job
[
'params'
][
'file_metadata'
]
del
job
[
'params'
][
'file_metadata'
]
...
...
Joao Pedro Lopes
@batistal
mentioned in commit
fts-rest-flask@0e37318c
·
Oct 12, 2021
mentioned in commit
fts-rest-flask@0e37318c
mentioned in commit fts-rest-flask@0e37318cfd1acd4b047440231fa0587e557c64e5
Toggle commit list
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