Skip to content
Snippets Groups Projects

Moved VALID_DASK_CLIENT_STRINGS to bob.pipelines

Merged Tiago de Freitas Pereira requested to merge valid-strings into master
1 file
+ 14
0
Compare changes
  • Side-by-side
  • Inline
@@ -2,3 +2,17 @@
from pkgutil import extend_path
__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")
Loading