From fac4ba2b0e76c9532020e2c2070c555d0a5b4140 Mon Sep 17 00:00:00 2001 From: Philip Colmer Date: Sat, 9 Dec 2023 15:44:39 +0000 Subject: [PATCH] Remove type from args to avoid clashes --- aws2wrap/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws2wrap/__init__.py b/aws2wrap/__init__.py index 129d278..f029694 100755 --- a/aws2wrap/__init__.py +++ b/aws2wrap/__init__.py @@ -336,7 +336,7 @@ def choose_refreshable_profile(parent_profile_name: Optional[ProfileDef], return retrieve_attribute(profile, "profile_name") -def call_aws_cli(args: List[str], +def call_aws_cli(args, profile_name: ProfileDef, error_supplier: Optional[Callable]=None, append_profile_option: bool=True, @@ -344,7 +344,7 @@ def call_aws_cli(args: List[str], """Generalised function to call AWS CLI Args: - args (list[str]): arguments to pass to AWS CLI + args: arguments to pass to AWS CLI profile_name (ProfileDef): profile to use error_supplier (Callable, optional): Function to call in the event of an error. Defaults to None.