Fix autocomplete annotation

This commit is contained in:
Correl Roush 2024-07-15 10:30:03 -04:00
parent 7bf6e1ba9c
commit d4358a067a

2
ssm.py
View file

@ -28,7 +28,7 @@ class SSMPath(pathlib.PurePosixPath):
return SSMPath(value) 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: def get_client(profile: str) -> botocore.client.BaseClient: