Skip to content

Commit

Permalink
change None to 'none' bc Choice must be a string
Browse files Browse the repository at this point in the history
  • Loading branch information
mae5357 committed May 8, 2024
1 parent d4cf28a commit a6d5c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metaflow/plugins/aws/batch/batch_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def kill(ctx, run_id, user, my_runs):
@click.option("--tmpfs-size", help="tmpfs requirement for AWS Batch.")
@click.option("--tmpfs-path", help="tmpfs requirement for AWS Batch.")
# TODO: Maybe remove it altogether since it's not used here
@click.option("--ubf-context", default=None, type=click.Choice([None, "ubf_control"]))
@click.option("--ubf-context", default=None, type=click.Choice(["none", "ubf_control"]))
@click.option("--host-volumes", multiple=True)
@click.option("--efs-volumes", multiple=True)
@click.option(
Expand Down

0 comments on commit a6d5c63

Please sign in to comment.