Copilot commented on code in PR #51479:
URL: https://github.com/apache/airflow/pull/51479#discussion_r2132140599
##########
providers/standard/src/airflow/providers/standard/sensors/external_task.py:
##########
@@ -428,7 +428,7 @@ def execute(self, context: Context) -> None:
else:
dttm_filter = self._get_dttm_filter(context)
logical_or_execution_dates = (
- {"logical_dates": dttm_filter} if AIRFLOW_V_3_0_PLUS else
{"execution_date": dttm_filter}
+ {"logical_dates": dttm_filter} if AIRFLOW_V_3_0_PLUS else
{"execution_dates": dttm_filter}
Review Comment:
The trigger argument key was mismatched (`execution_date` vs.
`execution_dates`), which will break the `WorkflowTrigger` contract. Updating
to `execution_dates` ensures the sensor payload matches the trigger signature.
```suggestion
{"execution_dates": dttm_filter} if AIRFLOW_V_3_0_PLUS else
{"execution_dates": dttm_filter}
```
--
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]