Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.pipelines
Commits
fde28dfc
Commit
fde28dfc
authored
Dec 06, 2020
by
Tiago de Freitas Pereira
Browse files
moved VALID_DASK_CLIENT_STRINGS to bob.pipelines
parent
b1ccc773
Pipeline
#46362
passed with stage
in 10 minutes and 32 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/pipelines/distributed/__init__.py
View file @
fde28dfc
...
...
@@ -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"
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment