From 26a68f13a98d5f6dab70f5b1a1b95154d07fc83d Mon Sep 17 00:00:00 2001 From: up-n-atom Date: Thu, 17 Aug 2023 00:30:27 -0400 Subject: [PATCH] Fix missing type hint --- xmo-web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmo-web.py b/xmo-web.py index 3cf2579..d99b1f6 100755 --- a/xmo-web.py +++ b/xmo-web.py @@ -27,7 +27,7 @@ class EnumChoice(click.Choice): default=EncryptionMethod.SHA512, type=EnumChoice(EncryptionMethod), help='Authentication method') @click.pass_context -async def cli(ctx, host: str, username: str, password: str, authentication_method: EncryptionMethod) -> None: +async def cli(ctx: click.Context, host: str, username: str, password: str, authentication_method: EncryptionMethod) -> None: ctx.obj = client = await ctx.with_async_resource( SagemcomClient(host, username, password, authentication_method, ssl=True, keep_keys=True) )