Skip to content

Commit c16e184

Browse files
committed
FIX: CLI dispatcher default integer type for n_threads
1 parent 4f9f539 commit c16e184

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ramp-engine/ramp_engine/cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def main():
2727
'event information.')
2828
@click.option('--n-workers', default=-1, show_default=True,
2929
help='Number of worker to start in parallel.')
30-
@click.option('--n-threads', default=None, show_default=None,
30+
@click.option('--n-threads', default=None, show_default=None, type=int
3131
help='Number of threads used by each worker.')
3232
@click.option('--hunger-policy', default='exit', show_default=True,
3333
help='Policy to apply in case that there is no anymore workers'

0 commit comments

Comments
 (0)