Skip to content

Commit

Permalink
fix: cli annotation to make parameter optional
Browse files Browse the repository at this point in the history
  • Loading branch information
devraj committed Jul 13, 2024
1 parent c7e875e commit a3be7d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gallagher/cli/cardholders.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async def find(
typer.Argument(help="First or last name to search for")
],
sort: Annotated[
SearchSortOrder,
Optional[SearchSortOrder],
typer.Option(help='Sort order')
] = SearchSortOrder.NAME,
description: Annotated[
Expand Down

0 comments on commit a3be7d2

Please sign in to comment.