Skip to content

remove event['message'] call in EmrContainerOperator.execute_complete|as the key message no longer exists - #36417

Merged
josh-fell merged 1 commit into
apache:mainfrom
astronomer:fix-EmrContainerOperator-deferring-key-error
Dec 26, 2023
Merged

josh-fell merged 1 commit into
apache:mainfrom
astronomer:fix-EmrContainerOperator-deferring-key-error

Conversation

@Lee-W

@Lee-W Lee-W commented Dec 25, 2023 •

Copy link
Copy Markdown
Member

https://github.com/apache/airflow/blob/a1e1dc60fb70d102451a6a819ccc78c079b65ddd/airflow/providers/amazon

https://github.com/apache/airflow/blob/main/airflow/providers/amazon/aws/triggers/base.py#L152

event now looks like {"status": "success", "job_id": 123} instead of {"status": "success", "job_id": 123, "message": ...} which makes calling event["message"] an error


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

…erator.execute_complete|as the key message no longer exists
@boring-cyborg boring-cyborg Bot added area:providers provider:amazon AWS/Amazon - related issues labels Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:amazon AWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants