Skip to content

Commit

Permalink
fix: StepFunctionHook ignores explicit set region_name (#23976)
Browse files Browse the repository at this point in the history
  • Loading branch information
Taragolis authored Jun 5, 2022
1 parent acf8951 commit daa138c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/providers/amazon/aws/hooks/step_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class StepFunctionHook(AwsBaseHook):
:class:`~airflow.providers.amazon.aws.hooks.base_aws.AwsBaseHook`
"""

def __init__(self, region_name: Optional[str] = None, *args, **kwargs) -> None:
def __init__(self, *args, **kwargs) -> None:
kwargs["client_type"] = "stepfunctions"
super().__init__(*args, **kwargs)

Expand Down

0 comments on commit daa138c

Please sign in to comment.