potiuk commented on code in PR #42081:
URL: https://github.com/apache/airflow/pull/42081#discussion_r1821536582
##########
providers/src/airflow/providers/standard/operators/python.py:
##########
@@ -417,14 +393,15 @@ class _BasePythonVirtualenvOperator(PythonOperator,
metaclass=ABCMeta):
"prev_start_date_success",
"prev_end_date_success",
}
+
AIRFLOW_SERIALIZABLE_CONTEXT_KEYS = {
"macros",
"conf",
"dag",
"dag_run",
"task",
"params",
- "triggering_asset_events",
+ "triggering_asset_events" if AIRFLOW_V_3_0_PLUS else
"triggering_dataset_events",
Review Comment:
Yeah. When Python operator wa spart of "Airflow" it was never supposed to be
run against old airflow version (it was impossible since it was part of
"airflow"), but when we move to provider, we also run it against previous
airflow versions :)
--
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]