You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "kiritdevda (via GitHub)" <gi...@apache.org> on 2025/11/05 13:02:15 UTC

Re: [PR] AIP-44 Migrate TaskInstance.check_and_change_state_before_execution to Internal API [airflow]

kiritdevda commented on code in PR #29513:
URL: https://github.com/apache/airflow/pull/29513#discussion_r2494383859


##########
airflow/models/taskinstance.py:
##########
@@ -1207,9 +1252,15 @@ def get_dagrun(self, session: Session = NEW_SESSION) -> DagRun:
 
         return dr
 
+    @staticmethod
+    @internal_api_call
     @provide_session
     def check_and_change_state_before_execution(
-        self,

Review Comment:
   cls should be the first parameter here 



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