Logo Search packages:      
Sourcecode: ipython version File versions  Download package

def IPython::kernel::mapper::TaskMapper::__init__ (   self,
  task_controller,
  clear_before = False,
  clear_after = False,
  retries = 0,
  recovery_task = None,
  depend = None,
  block = True 
)

Create a `IMapper` given a `TaskController` and arguments.

The additional arguments are those that are common to all types of 
tasks and are described in the documentation for 
`IPython.kernel.task.BaseTask`.

:Parameters:
    task_controller : an `IBlockingTaskClient` implementer
The `TaskController` to use for calls to `map`

Definition at line 133 of file mapper.py.

                                                        :
        """
        Create a `IMapper` given a `TaskController` and arguments.
        
        The additional arguments are those that are common to all types of 
        tasks and are described in the documentation for 
        `IPython.kernel.task.BaseTask`.
        
        :Parameters:
            task_controller : an `IBlockingTaskClient` implementer
                The `TaskController` to use for calls to `map`
        """
        self.task_controller = task_controller
        self.clear_before = clear_before
        self.clear_after = clear_after
        self.retries = retries
        self.recovery_task = recovery_task
        self.depend = depend
        self.block = block
    
    def map(self, func, *sequences):


Generated by  Doxygen 1.6.0   Back to index