GitHub source

evo.compute.tasks.common.results.TaskResultList

A list-like container for task results with pretty-printing support.

Wraps a plain list of result objects so that Jupyter can render them with rich HTML via _repr_html_. When evo.widgets is loaded its for_type_by_name registration overrides the built-in HTML with the fully-styled version.

Supports indexing, iteration, len(), and bool() just like a regular list.

Example::

>>> results = await run(manager, [params1, params2], preview=True)
>>> results        # pretty-printed table in Jupyter
>>> results[0]     # access individual result
>>> len(results)   # number of results