Expose Ray tasks through the executor interface.
Install the ``ray`` extra. Pass a cluster address or set ``RAY_ADDRESS``
to attach to a running cluster. Otherwise start local Ray. An active
Ray connection in the calling process is reused unless an explicit
address was passed. The executor closes connections it opens.
:param address: Optional Ray cluster address. Use "local" to start
local Ray even when ``RAY_ADDRESS`` is set.
:param max_workers: CPU count for local Ray. An attached cluster
controls its own resources.
Executor that encapsulate ray concurrency functions. Need the ray package to be installed and importable.
Definition at line 198 of file base.py.