Skip to content

Commit

Permalink
Limit allowable values for --max_transfers.
Browse files Browse the repository at this point in the history
  • Loading branch information
iansealy committed Sep 28, 2023
1 parent 766cbb8 commit 415099d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airsenal/scripts/airsenal_run_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
@click.option(
"--max_transfers",
help="specify maximum number of transfers to be made each gameweek (defaults to 2)",
type=int,
type=click.IntRange(min=0, max=2),
default=2,
)
def run_pipeline(
Expand Down

0 comments on commit 415099d

Please sign in to comment.