Pedrinhonitz commented on code in PR #67138:
URL: https://github.com/apache/airflow/pull/67138#discussion_r3268120726
##########
providers/standard/src/airflow/providers/standard/sensors/external_task.py:
##########
@@ -267,13 +287,25 @@ def __init__(
self.external_dates_filter: str | None = None
def _get_dttm_filter(self, context: Context) ->
Sequence[datetime.datetime]:
+ execution_date_value = self.execution_date
+
+ if execution_date_value is not None:
+ if isinstance(execution_date_value, datetime.datetime):
+ return [execution_date_value]
+
+ import pendulum
Review Comment:
The pendulum removal is perfect, thank you.
--
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]