The ipyparallel
module declares a View
class to provide views of engines. The View
class itself is not meant for use. It should probably be treated as an abstract base class for most purposes. However, it does have two useful subclasses: DirectView
and LoadBalancedView
. We will cover the functionality provided by View
in this section, and the differences introduced by DirectView
and LoadBalancedView
in their own sections.
View
provides some useful attributes:
Attribute |
Meaning |
---|---|
|
A list of message IDs. |
|
The set of message IDs of jobs that are not complete. |
|
A dict of |
|
The IDs of engines in the current active set. Functions that are applied, mapped, and so on will be executed on these engines. |
|
|