Commit 22a65695 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira

Merge branch 'valid-strings' into 'master'

moved VALID_DASK_CLIENT_STRINGS to bob.pipelines

See merge request !228
parents 2d336050 80cec93f
Pipeline #46390 passed with stages
in 7 minutes and 1 second
......@@ -13,8 +13,7 @@ from bob.extension.scripts.click_helper import ConfigCommand
from bob.extension.scripts.click_helper import ResourceOption
from bob.extension.scripts.click_helper import verbosity_option
VALID_DASK_CLIENT_STRINGS = ("single-threaded", "sync", "threaded", "processes")
from bob.pipelines.distributed import VALID_DASK_CLIENT_STRINGS
logger = logging.getLogger(__name__)
......@@ -55,9 +54,7 @@ It is possible to do it via configuration file
@click.command(
entry_point_group="bob.bio.config",
cls=ConfigCommand,
epilog=EPILOG,
entry_point_group="bob.bio.config", cls=ConfigCommand, epilog=EPILOG,
)
@click.option(
"--pipeline",
......
......@@ -13,7 +13,7 @@ from bob.extension.scripts.click_helper import ConfigCommand
from bob.extension.scripts.click_helper import ResourceOption
from bob.extension.scripts.click_helper import verbosity_option
from .vanilla_biometrics import VALID_DASK_CLIENT_STRINGS
from bob.pipelines.distributed import VALID_DASK_CLIENT_STRINGS
logger = logging.getLogger(__name__)
......@@ -54,9 +54,7 @@ It is possible to do it via configuration file
@click.command(
entry_point_group="bob.bio.config",
cls=ConfigCommand,
epilog=EPILOG,
entry_point_group="bob.bio.config", cls=ConfigCommand, epilog=EPILOG,
)
@click.option(
"--pipeline",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment