Although the primary purpose of the Client
class is to provide a means to obtain access to one or more View objects, it also has some utility attributes and methods.
The following attributes are noteworthy:
Attribute |
Meaning |
---|---|
|
A dict of results, keyed by |
|
A set of |
For example:
In [112]: c.results Out[112]: defaultdict(dict, {'0543fa4b-43d6-4280-9424-45c574b75e90': [19, 6], '0cde1111-35a9-4fe7-90af-920d4a83a9c9': [16, 3], '15c29a7c-b7b9-4738-9d3c-6350dc8953bc': [7], '187e9830-8962-438f-a2a6-c0986330c7ff': [7], '1a8044e3-08a0-4e97-b609-bef89bc452bd': [0, 1, 7], '2267f2e1-3dd9-4514-804c-6c8cb9c97521': ipyparallel.error.RemoteError('TypeError', "'int' object is not subscriptable"), 'e9aac8f6-8625-467e-aa28-a04f20c13274': ipyparallel.error.RemoteError('TypeError', "'int' object...