gopidesupavan commented on code in PR #42081:
URL: https://github.com/apache/airflow/pull/42081#discussion_r1821202602


##########
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:
   The main branch already includes asset event changes compatible with Airflow 
3. Since the standard provider needs to support Airflow 2.10, which includes 
the dataset event feature, I’ve updated this to ensure compatibility with both 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to