Skip to content

Commit

Permalink
Fix docstring of SessionBasedScript.new_tasks()
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardomurri committed Jul 8, 2016
1 parent 26ed36b commit c5f1610
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions gc3libs/cmdline.py
Expand Up @@ -2128,20 +2128,7 @@ def pre_run(self):
def new_tasks(self, extra):
"""
Iterate over jobs that should be added to the current session.
Each item yielded must have the form `(jobname, cls, args,
kwargs)`, where:
* `jobname` is a string uniquely identifying the job in the
session; if a job with the same name already exists, this
item will be ignored.
* `cls` is a callable that returns an instance of
`gc3libs.Application` when called as `cls(*args, **kwargs)`.
* `args` is a tuple of arguments for calling `cls`.
* `kwargs` is a dictionary used to provide keyword arguments
when calling `cls`.
Each item yielded must be a valid `Task`:class: instance.
This method is called by the default `process_args`:meth:, passing
`self.extra` as the `extra` parameter.
Expand Down

0 comments on commit c5f1610

Please sign in to comment.