From d4358a067ac76cd6a3add6986e81edc78ee21edd Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Mon, 15 Jul 2024 10:30:03 -0400 Subject: [PATCH] Fix autocomplete annotation --- ssm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssm.py b/ssm.py index e0468f4..d8649bc 100644 --- a/ssm.py +++ b/ssm.py @@ -28,7 +28,7 @@ class SSMPath(pathlib.PurePosixPath): return SSMPath(value) -ProfileArg = typing.Annotated[str, typer.Argument(autocompletion=aws_profiles)] +ProfileArg = typing.Annotated[str, typer.Argument(autocompletion=lambda: aws_profiles)] def get_client(profile: str) -> botocore.client.BaseClient: