jedcunningham commented on code in PR #60065:
URL: https://github.com/apache/airflow/pull/60065#discussion_r2665566732
##########
airflow-core/src/airflow/serialization/helpers.py:
##########
@@ -71,7 +75,11 @@ def sort_dict_recursively(obj: Any) -> Any:
try:
serialized = template_field.serialize()
except AttributeError:
- serialized = str(template_field)
+ if callable(template_field):
+ fingerprint = get_python_source_md5(template_field)
Review Comment:
It depends if the callable is in the bundle - it may not be.
--
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]