spdl.pipeline.PriorityInterpreterPoolExecutor

class PriorityInterpreterPoolExecutor(*args: Any, **kwargs: Any)[source]

Stub for Python < 3.14. Raises RuntimeError on instantiation.

Methods

get_executor(*[, priority])

map(fn, *iterables[, timeout, chunksize])

Returns an iterator equivalent to map(fn, iter).

shutdown([wait, cancel_futures])

Clean-up the resources associated with the Executor.

submit(fn, /, *args, **kwargs)

Submits a callable to be executed with the given arguments.

get_executor(*, priority: int | None = None) PriorityExecutorEntrypoint[source]