From 05362f9236d76b0d81a0ae0f630675d59bf0a68a Mon Sep 17 00:00:00 2001 From: fubuloubu <3859395+fubuloubu@users.noreply.github.com> Date: Thu, 11 Jul 2024 11:51:29 -0400 Subject: [PATCH] fix: add exception for fall-through case --- silverback/_cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/silverback/_cli.py b/silverback/_cli.py index ca1f312d..079f51b8 100644 --- a/silverback/_cli.py +++ b/silverback/_cli.py @@ -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",