Taragolis opened a new pull request, #23976:
URL: https://github.com/apache/airflow/pull/23976

   Parameter `region_name` in 
`airflow.providers.amazon.aws.hooks.step_function.StepFunctionHook` doesn't do 
anything, and doesn't propagate to parent AwsBaseHook
   
   **Sample**
   ```python
   import os
   from airflow.providers.amazon.aws.hooks.step_function import StepFunctionHook
   
   os.environ["AIRFLOW_CONN_TEST_CONN"] = "aws://?region_name=eu-west-1"
   
   hook = StepFunctionHook(aws_conn_id="test_conn")
   conn = hook.conn
   assert conn.meta.region_name == "eu-west-1"
   
   hook = StepFunctionHook(aws_conn_id="test_conn", 
region_name="ap-southeast-2")
   conn = hook.conn
   assert conn.meta.region_name == "ap-southeast-2"
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to