Skip to content
GitLab
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
646c8d11
Commit
646c8d11
authored
Sep 01, 2021
by
Joao Pedro Lopes
Browse files
FTS-1702
Enforce params::file_metadata field is JSON object
parent
2752e2d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/fts3rest/fts3rest/lib/JobBuilder.py
View file @
646c8d11
...
...
@@ -447,6 +447,8 @@ class JobBuilder(object):
activity
=
file_dict
.
get
(
'activity'
,
'default'
),
hashed_id
=
shared_hashed_id
if
shared_hashed_id
else
_generate_hashed_id
()
)
if
f
[
'file_metadata'
]
!=
None
:
f
[
'file_metadata'
]
=
_metadata
(
f
[
'file_metadata'
])
self
.
files
.
append
(
f
)
def
_apply_selection_strategy
(
self
):
...
...
Joao Pedro Lopes
@batistal
mentioned in commit
c24759f4
·
Sep 13, 2021
mentioned in commit
c24759f4
mentioned in commit c24759f4d4a886c41613614d1dc8730ff4f712eb
Toggle commit list
Joao Pedro Lopes
@batistal
mentioned in commit
e287784c
·
Sep 13, 2021
mentioned in commit
e287784c
mentioned in commit e287784cdfd35b92b2f33cd9cbf298dfc1d1d8ef
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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