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


##########
airflow/models/taskinstance.py:
##########
@@ -1207,9 +1208,11 @@ 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,
+        ti: TaskInstance,

Review Comment:
   Thanks for the pointers, I'm on holiday starting tomorrow until next friday, 
I'll undate the PR then.
   
   @vincbeck I believe custom objects that are serializable can be found in the 
[BaseSerialization.serialize]( 
https://github.com/apache/airflow/blob/main/airflow/serialization/serialized_objects.py#L385).
 But maybe this list is not exhaustive and an inventory would definitely help.
   
   



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