You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by jo...@apache.org on 2022/06/05 03:37:21 UTC

[airflow] branch main updated: fix: StepFunctionHook ignores explicit set `region_name` (#23976)

This is an automated email from the ASF dual-hosted git repository.

joshfell pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new daa138c8eb fix: StepFunctionHook ignores explicit set `region_name` (#23976)
daa138c8eb is described below

commit daa138c8eb586fae80ae3e5d42f6a1a547016ad0
Author: Andrey Anshin <An...@taragol.is>
AuthorDate: Sun Jun 5 06:37:13 2022 +0300

    fix: StepFunctionHook ignores explicit set `region_name` (#23976)
---
 airflow/providers/amazon/aws/hooks/step_function.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/providers/amazon/aws/hooks/step_function.py b/airflow/providers/amazon/aws/hooks/step_function.py
index 97ffb10c04..0e0cb1ced7 100644
--- a/airflow/providers/amazon/aws/hooks/step_function.py
+++ b/airflow/providers/amazon/aws/hooks/step_function.py
@@ -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)