You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/04/18 10:29:17 UTC

[GitHub] [airflow] uranusjr commented on issue #22078: ExternalTaskSensorLink does not respect execution_delta and execution_date_fn

uranusjr commented on issue #22078:
URL: https://github.com/apache/airflow/issues/22078#issuecomment-1101296924

   `execution_delta` is simple, you can just add it to serialisation.
   
   ```python
   @classmethod
   def get_serialized_fields(cls):
       return super().get_serialized_fields() | {"execution_delta"}
   ```
   
   But `execution_delta_fn` would be difficult; it is a function, and not all functions can be encoded, so you need to build some fallback mechanisms if it can’t.


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