diff --git a/silverback/_click_ext.py b/silverback/_click_ext.py index c1faf96b..b8157cb8 100644 --- a/silverback/_click_ext.py +++ b/silverback/_click_ext.py @@ -246,7 +246,7 @@ def get_cluster_client(ctx: click.Context, *args, **kwargs): return update_wrapper(get_cluster_client, f) -def bot_path_callback(ctx: click.Context, param: click.Parameter, value): +def bot_path_callback(ctx: click.Context, param: click.Parameter, value: str | None): path = ctx.params.get("path") if not path: path = "bot:bot"