Skip to content

Commit

Permalink
fix: add exception for fall-through case
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu committed Jul 11, 2024
1 parent 2806898 commit 05362f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions silverback/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ def get_client_from_profile(ctx, param, value) -> Client:
headers={"X-API-Key": profile.api_key},
)

raise NotImplementedError # Should not be possible, but mypy barks

return click.option(
"-p",
"--profile",
Expand Down

0 comments on commit 05362f9

Please sign in to comment.