potiuk commented on issue #60064:
URL: https://github.com/apache/airflow/issues/60064#issuecomment-3707493214

   > My approach for https://github.com/apache/airflow/pull/60056 was to have 
lowest footprint solution, reusing as much as possible of what's already there.
   
   This should not be goal on it's own. Sometimes you need more "footprint" to 
solve things well
   
   > I do like what's been mentioned in this 
https://github.com/apache/airflow/discussions/59595#discussioncomment-15373896 
where the approach would be to hash the source code and have a compact 
representation in the serialized DAG, something like callable 
<MD5_hash_value_of_source_code>
   
   Yes. That looks way more reasonable. especially that often you will not be 
able to serialize the function because it will have non-serializable local 
imports for example.


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