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
0adb99d5
Commit
0adb99d5
authored
Jan 11, 2019
by
Maria Arsuaga Rios
Browse files
FTS-1232
: Add nostreams to the easy bindings' new_job interface
parent
42b6c789
Pipeline
#655689
passed with stage
in 1 minute and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/fts3/rest/client/easy/submission.py
View file @
0adb99d5
...
...
@@ -108,7 +108,7 @@ def new_job(transfers=None, deletion=None, verify_checksum=False, reuse=None, ov
bring_online
=
None
,
copy_pin_lifetime
=
None
,
retry
=-
1
,
retry_delay
=
0
,
metadata
=
None
,
priority
=
None
,
strict_copy
=
False
,
max_time_in_queue
=
None
,
timeout
=
None
,
id_generator
=
JobIdGenerator
.
standard
,
sid
=
None
,
s3alternate
=
False
):
id_generator
=
JobIdGenerator
.
standard
,
sid
=
None
,
s3alternate
=
False
,
nostreams
=
1
):
"""
Creates a new dictionary representing a job
...
...
@@ -130,6 +130,7 @@ def new_job(transfers=None, deletion=None, verify_checksum=False, reuse=None, ov
id_generator: Job id generator algorithm
sid: Specific id given by the client
s3alternate: Use S3 alternate url schema
nostreams: Number of streams
Returns:
An initialized dictionary representing a job
...
...
@@ -160,7 +161,8 @@ def new_job(transfers=None, deletion=None, verify_checksum=False, reuse=None, ov
timeout
=
timeout
,
id_generator
=
id_generator
,
sid
=
sid
,
s3alternate
=
s3alternate
s3alternate
=
s3alternate
,
nostreams
=
nostreams
)
job
=
dict
(
files
=
transfers
,
...
...
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