Skip to content

Commit

Permalink
Consolidate around the TransformOptions type alias
Browse files Browse the repository at this point in the history
  • Loading branch information
troyswanson committed Dec 20, 2023
1 parent f5cfcc2 commit 59f71b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws_lambda_powertools/utilities/parameters/ssm.py
Expand Up @@ -595,7 +595,7 @@ def get_parameter(

def get_parameter(
name: str,
transform: Optional[Literal["json", "binary", "auto"]] = None,
transform: TransformOptions = None,
decrypt: Optional[bool] = None,
force_fetch: bool = False,
max_age: Optional[int] = None,
Expand Down Expand Up @@ -731,7 +731,7 @@ def get_parameters(

def get_parameters(
path: str,
transform: Optional[Literal["json", "binary", "auto"]] = None,
transform: TransformOptions = None,
recursive: bool = True,
decrypt: Optional[bool] = None,
force_fetch: bool = False,
Expand Down

0 comments on commit 59f71b1

Please sign in to comment.