uproot.TrivialExecutor

Defined in uproot.source.futures on line 92.

Inheritance order:

  1. uproot.source.futures.Executor

  2. abc.ABC

class uproot.source.futures.TrivialExecutor

Formally satisfies the interface for a uproot.ThreadPoolExecutor, but the submit method computes its task synchronously.

submit

Inherited from uproot.source.futures.Executor.

TrivialExecutor.submit(task, /, *args, **kwargs)

Immediately runs task(*args).

shutdown

Inherited from uproot.source.futures.Executor.

TrivialExecutor.shutdown(wait: bool = True)

Stop the executor and free its resources.

closed

Inherited from uproot.source.futures.Executor.

TrivialExecutor.closed

True if the executor has been stopped and its resources freed.