Package mdp :: Package parallel :: Class FlowTaskCallable
[hide private]
[frames] | no frames]

Class FlowTaskCallable


Base class for all flow callables.

It deals activating the required extensions.

Instance Methods [hide private]
 
__init__(self)
Store the currently active extensions.
 
setup_environment(self)
Activate the used extensions.

Inherited from unreachable.newobject: __long__, __native__, __nonzero__, __unicode__, next

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

    Inherited from TaskCallable
 
__call__(self, data)
Perform the computation and return the result.
 
fork(self)
Return a fork of this callable, e.g.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

 
Store the currently active extensions.

Overrides: object.__init__

setup_environment(self)

 
Activate the used extensions.

Overrides: TaskCallable.setup_environment