ewoksjob.worker.executor.set_executor_getter

ewoksjob.worker.executor.set_executor_getter(get_executor)[source]

Worker pools that need to wrap their tasks can implement a get_executor function and register it here.

Parameters:

get_executor (Callable[[], Optional[Callable]]) –

Return type:

None