Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(0)  |  Derive(1)  |  Import(2)

src/d/a/danga-gearman-2.0.0/dangagearman/_twisted.py   danga-gearman(Download)
from dangagearman.connection import GearmanConnection
from dangagearman.task import Task, Taskset
from dangagearman.client import GearmanClient
 
from twisted.internet import abstract, defer, reactor
class Client(GearmanClient):
    @defer.inlineCallbacks
    def do_task(self, task):
        """Return the result of the task or raise a TaskFailed exception on failure."""
 

src/d/a/danga-gearman-2.0.0/dangagearman/__init__.py   danga-gearman(Download)
__license__ = "MIT"
 
from dangagearman.client import GearmanClient
from dangagearman.server import GearmanServer
from dangagearman.task import Task, Taskset