KoviAnusha commented on code in PR #57369:
URL: https://github.com/apache/airflow/pull/57369#discussion_r2479971541


##########
providers/standard/src/airflow/providers/standard/sensors/external_task.py:
##########
@@ -251,17 +252,15 @@ def __init__(
         self.deferrable = deferrable
         self.poll_interval = poll_interval
 
-    def _get_dttm_filter(self, context):
+    def _get_dttm_filter(self, context: Context) -> list[datetime.datetime]:

Review Comment:
   Thanks for the suggestion! The output is later serialized and length-checked 
(e.g., len(dttm_filter) and iteration), so it behaves as an indexable 
collection. Using Sequence[datetime.datetime] would indeed be more abstract 
while still covering the required operations. I’ll update it accordingly.



-- 
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]

Reply via email to