You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "amoghrajesh (via GitHub)" <gi...@apache.org> on 2025/08/04 07:23:31 UTC

Re: [PR] Restore `execute_complete` functionality `TimeSensor` when `deferrable=True` [airflow]

amoghrajesh commented on code in PR #53669:
URL: https://github.com/apache/airflow/pull/53669#discussion_r2250629781


##########
providers/standard/src/airflow/providers/standard/sensors/time.py:
##########
@@ -116,8 +116,10 @@ def execute(self, context: Context) -> None:
                 ),
                 method_name="execute_complete",
             )
+        else:
+            super().execute(context)
 
-    def execute_complete(self, context: Context) -> None:
+    def execute_complete(self, context: Context, event: Any = None) -> None:
         return

Review Comment:
   ```suggestion
           return None
   ```
   
   This is more explicit.



-- 
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-unsubscribe@airflow.apache.org

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