8.2.2.1.3. Executor

class Executor[source]

Base Executor

Methods

__delattr__

Implement delattr(self, name).

__dir__

Default dir() implementation.

__eq__

Return self==value.

__format__

Default object formatter.

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__getstate__

Helper for pickle.

__gt__

Return self>value.

__hash__

Return hash(self).

__init__

__init_subclass__

This method is called when a class is subclassed.

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

__new__

__reduce__

Helper for pickle.

__reduce_ex__

Helper for pickle.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__sizeof__

Size of object in memory, in bytes.

__str__

Return str(self).

__subclasshook__

Abstract classes can override this to customize issubclass().

_set_future

_target

shutdown

submit

__init__()[source]

Attributes

__annotations__

__dict__

__doc__

__module__

__weakref__

list of weak references to the object

__init__()[source]
__reduce__()[source]

Helper for pickle.

_set_future(fut, res)[source]
static _target(send, func, args, kwargs)[source]
shutdown(wait=True)[source]
submit(func, *args, **kwargs)[source]
__annotations__ = {}
__dict__ = mappingproxy({'__module__': 'schedula.utils.asy.executors', '__doc__': 'Base Executor', '__init__': <function Executor.__init__>, '__reduce__': <function Executor.__reduce__>, '_set_future': <function Executor._set_future>, '_target': <staticmethod(<function Executor._target>)>, 'shutdown': <function Executor.shutdown>, 'submit': <function Executor.submit>, '__dict__': <attribute '__dict__' of 'Executor' objects>, '__weakref__': <attribute '__weakref__' of 'Executor' objects>, '__annotations__': {}})
__doc__ = 'Base Executor'
__module__ = 'schedula.utils.asy.executors'
__weakref__

list of weak references to the object