From 047040887bf601f9ccf57fe4bfb9feb359a3505a Mon Sep 17 00:00:00 2001 From: Devin Fee Date: Thu, 9 Aug 2018 10:24:23 -0700 Subject: [PATCH] fix: list_commands returns strings (#2372) list_commands previously returned `Iterable[click.Command]` and now returns `Iterable[str]` to comply with the method's return value. --- third_party/2and3/click/core.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/2and3/click/core.pyi b/third_party/2and3/click/core.pyi index 8021e08d2..bcd9d5eea 100644 --- a/third_party/2and3/click/core.pyi +++ b/third_party/2and3/click/core.pyi @@ -278,7 +278,7 @@ class MultiCommand(Command): def get_command(self, ctx: Context, cmd_name: str) -> Optional[Command]: ... - def list_commands(self, ctx: Context) -> Iterable[Command]: + def list_commands(self, ctx: Context) -> Iterable[str]: ...