Skip to content

Commit

Permalink
New method BgEngine.find_task_by_id().
Browse files Browse the repository at this point in the history
It proxies the corresponding method of the `Engine` class
introduced in commit ecd9021.
  • Loading branch information
riccardomurri committed Apr 6, 2017
1 parent f456383 commit c1cc65b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gc3libs/core.py
Expand Up @@ -2181,6 +2181,11 @@ def fetch_output(self, task, output_dir=None,
changed_only, **extra_args)


def find_task_by_id(self, task_id):
"""Proxy to `Engine.find_task_by_id`:meth: (which see)."""
return self._engine.find_task_by_id(task_id)


def free(self, task, **extra_args):
"""Proxy to `Engine.free`:meth: (which see)."""
if self.running:
Expand Down

0 comments on commit c1cc65b

Please sign in to comment.