Skip to content

Commit

Permalink
Merge pull request #49 from lyft/make_click_6_work
Browse files Browse the repository at this point in the history
Remove hidden arg from register --pkgs option
  • Loading branch information
slai authored Nov 12, 2019
2 parents a059a06 + 4a801af commit bb03874
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flytekit/clis/sdk_in_container/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def register_tasks_only(project, domain, pkgs, test, version):

@click.group('register')
# --pkgs on the register group is DEPRECATED, use same arg on pyflyte.main instead
@click.option('--pkgs', multiple=True, hidden=True)
@click.option('--pkgs', multiple=True, help="DEPRECATED. This arg can only be used before the 'register' keyword")
@click.option('--test', is_flag=True, help='Dry run, do not actually register with Admin')
@click.pass_context
def register(ctx, pkgs=None, test=None):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
],
install_requires=[
"flyteidl>=0.15.0,<1.0.0",
"click>=7.0,<8.0",
"click>=6.6,<8.0",
"configparser>=3.0.0,<4.0.0",
"croniter>=0.3.20,<4.0.0",
"deprecation>=2.0,<3.0",
Expand Down

0 comments on commit bb03874

Please sign in to comment.