Lcrs123 commented on issue #51016:
URL: https://github.com/apache/airflow/issues/51016#issuecomment-2910386464

   > The other issue is that if I add airflow compatible custom serialization 
the result is incorrect too
   
   I've come across this problem before and was thinking about opening an 
issue. If your custom type inherits from a python primitive, the sequence of 
checks that airflow does will always result in it using the de/serialize 
methods for the primitive type, even if you have defined custom de/serialize 
methods in your class yourself.
   
   Maybe the order of checks should be changed? If the developer went through 
the trouble of defining the custom methods himself, he obviously wants them to 
be used, and not the default ones.


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