Skip to content

Commit

Permalink
Remove type from args to avoid clashes
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-linaro committed Dec 9, 2023
1 parent 584bab2 commit fac4ba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws2wrap/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,15 +336,15 @@ 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,
env: Optional[dict]=None) -> bytes:
"""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.
Expand Down

0 comments on commit fac4ba2

Please sign in to comment.