Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.pipelines
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.pipelines
Commits
fde28dfc
Commit
fde28dfc
authored
4 years ago
by
Tiago de Freitas Pereira
Browse files
Options
Downloads
Patches
Plain Diff
moved VALID_DASK_CLIENT_STRINGS to bob.pipelines
parent
b1ccc773
No related branches found
No related tags found
1 merge request
!55
Moved VALID_DASK_CLIENT_STRINGS to bob.pipelines
Pipeline
#46362
passed
4 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/pipelines/distributed/__init__.py
+14
-0
14 additions, 0 deletions
bob/pipelines/distributed/__init__.py
with
14 additions
and
0 deletions
bob/pipelines/distributed/__init__.py
+
14
−
0
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
"
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment