class documentation

class ContextualWorker(proxyForInterface(IWorker, '_realWorker')): (source)

View In Hierarchy

A worker implementation that supplies a context.

Method __init__ Create with a real worker and a context.
Method do Perform the given work with the context given to __init__.
Instance Variable _context Undocumented
Instance Variable _realWorker Undocumented
def __init__(self, realWorker, **ctx): (source)

Create with a real worker and a context.

def do(self, work): (source)

Perform the given work with the context given to __init__.

Parameters
workthe work to pass on to the real worker.
_context = (source)

Undocumented

_realWorker = (source)

Undocumented