SEPURI-SAI-KRISHNA opened a new pull request, #71857:
URL: https://github.com/apache/airflow/pull/71857

   `SageMakerBaseOperator` extends `AwsBaseOperator`, so every SageMaker 
operator carries the `region_name`, `verify` and `botocore_config` the user 
configured. When these operators defer, they build a `SageMakerTrigger` / 
`SageMakerPipelineTrigger` and pass only `aws_conn_id`, so the trigger builds 
its hook without those settings.
   
   The result is that the deferred half of the task talks to AWS differently 
from the operator: a job submitted in an explicitly requested region is then 
polled in the connection's default region, a custom `botocore_config` 
(timeouts, retry policy) is ignored while waiting, and an explicit `verify` for 
SSL verification is dropped once the task is handed to the triggerer.
   
   Both triggers already accept all three arguments and forward them to 
`AwsBaseWaiterTrigger`, so only the operators needed changing.
   
   This continues the same cleanup as #52904 (Glue), #67508 (Batch), #67876 
(Redshift) and #71646 (Neptune).
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 5)
   
   Generated-by: Claude Code (Opus 5) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   


-- 
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