Skip to content

Commit

Permalink
fix: StepFunctionHook ignores explicit set region_name
Browse files Browse the repository at this point in the history
  • Loading branch information
Taragolis authored and potiuk committed Jun 4, 2022
1 parent 84c9f4b commit df8fd69
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 df8fd69

Please sign in to comment.