dstandish commented on a change in pull request #20184:
URL: https://github.com/apache/airflow/pull/20184#discussion_r766764509
##########
File path: airflow/providers/amazon/aws/operators/emr_add_steps.py
##########
@@ -62,7 +63,7 @@ def __init__(
):
if kwargs.get('xcom_push') is not None:
raise AirflowException("'xcom_push' was deprecated, use
'do_xcom_push' instead")
- if not (job_flow_id is None) ^ (job_flow_name is None):
+ if not exactly_one(job_flow_id is not None, job_flow_name is not None):
Review comment:
yup true forgot about that thanks
--
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]