Skip to content

Commit

Permalink
Upgrade Typer to 0.12.3
Browse files Browse the repository at this point in the history
  • Loading branch information
subhashb committed Jul 24, 2024
1 parent 6526866 commit 36f2c68
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 18 deletions.
24 changes: 8 additions & 16 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ inflection = ">=0.5.1"
ipython = "^8.23.0"
marshmallow = ">=3.15.0" # FIXME Remove core dependency
python-dateutil = ">=2.8.2"
typer = {extras = ["all"], version = "^0.9.0"}
typer = ">=0.12.3"
werkzeug = ">=2.0.0"

##########
Expand Down
2 changes: 1 addition & 1 deletion src/protean/cli/new.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def new(
output_folder: Annotated[
str, typer.Option("--output-dir", "-o", show_default=False)
] = ".",
data: Annotated[List[str], typer.Option("--data", "-d", show_default=False)] = None,
data: Annotated[List[str], typer.Option("--data", "-d", show_default=False)] = [],
pretend: Annotated[Optional[bool], typer.Option("--pretend", "-p")] = False,
force: Annotated[Optional[bool], typer.Option("--force", "-f")] = False,
defaults: Annotated[Optional[bool], typer.Option("--defaults")] = False,
Expand Down

0 comments on commit 36f2c68

Please sign in to comment.