eladkal commented on issue #67178:
URL: https://github.com/apache/airflow/issues/67178#issuecomment-4494869135

   > Thanks [@Subham-KRLX](https://github.com/Subham-KRLX) for taking this up 
on priority. We are blocked to release our builds to prod environments due to 
this issue. Do you have any work-around for this? If this gets merged, how soon 
it will be rolled out?
   
   There is a very easy workaround.
   Assuming the fix in the PR is right right one. You can just manually 
backport it.
   Copy the `updated 
providers/amazon/src/airflow/providers/amazon/aws/utils/waiter_with_logging.py` 
file into your deployment.
   
   Create a custom `MyEmrServerlessStartJobOperator` as:
   
   ```
   from my_import_path.waiter_with_logging import wait
   class MyEmrServerlessStartJobOperator(EmrServerlessStartJobOperator):
       
       def execute(self, context: Context, event: dict[str, Any] | None = None) 
-> str | None:
           # copy the function code exactly as is and just replace the import 
path for the wait function
   
   ```
   
   
   Releases for Amazon provider happens every two weeks. So once fix is 
released you can just update the provider and remove the workaround.


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