Skip to content
Snippets Groups Projects
Commit 7b8e32c9 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Merge branch 'valid-strings' into 'master'

Moved VALID_DASK_CLIENT_STRINGS to bob.pipelines

See merge request !55
parents b1ccc773 fde28dfc
Branches
Tags
1 merge request!55Moved VALID_DASK_CLIENT_STRINGS to bob.pipelines
Pipeline #46366 passed
...@@ -2,3 +2,17 @@ ...@@ -2,3 +2,17 @@
from pkgutil import extend_path from pkgutil import extend_path
__path__ = extend_path(__path__, __name__) __path__ = extend_path(__path__, __name__)
# DASK-click VALID_DASK_CLIENT_STRINGS
# TO BE USED IN:
# @click.option(
# "--dask-client",
# "-l",
# entry_point_group="dask.client",
# string_exceptions=VALID_DASK_CLIENT_STRINGS,
# default="single-threaded",
# help="Dask client for the execution of the pipeline.",
# cls=ResourceOption,
# )
VALID_DASK_CLIENT_STRINGS = ("single-threaded", "sync", "threaded", "processes")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment