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
6b295fa9
Commit
6b295fa9
authored
Oct 04, 2018
by
Andrea Manzi
Browse files
Update submit.py
parent
c71f4ce4
Changes
1
Show whitespace changes
Inline
Side-by-side
docs/easy/examples/submit.py
View file @
6b295fa9
...
@@ -47,7 +47,7 @@ logging.getLogger('fts3.rest.client').setLevel(logging.DEBUG)
...
@@ -47,7 +47,7 @@ logging.getLogger('fts3.rest.client').setLevel(logging.DEBUG)
transfer
=
fts3
.
new_transfer
(
source
,
destination
,
transfer
=
fts3
.
new_transfer
(
source
,
destination
,
checksum
=
checksum
,
filesize
=
None
,
checksum
=
checksum
,
filesize
=
None
,
metadata
=
'Test submission'
)
metadata
=
'Test submission'
)
job
=
fts3
.
new_job
([
transfer
],
verify_checksum
=
True
,
metadata
=
'Test job'
,
retry
=
1
)
job
=
fts3
.
new_job
([
transfer
],
verify_checksum
=
True
,
metadata
=
'Test job'
,
retry
=
1
,
priority
=
3
)
# Submit or just print
# Submit or just print
if
options
.
dry_run
:
if
options
.
dry_run
:
...
...
Write
Preview
Markdown
is supported
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