hussein-awala commented on code in PR #31904:
URL: https://github.com/apache/airflow/pull/31904#discussion_r1253536853


##########
airflow/serialization/serialized_objects.py:
##########
@@ -287,7 +287,7 @@ class BaseSerialization:
     _datetime_types = (datetime.datetime,)
 
     # Object types that are always excluded in serialization.
-    _excluded_types = (logging.Logger, Connection, type)
+    _excluded_types = (logging.Logger, Connection, type, property)

Review Comment:
   if we don't exclude it, the serialized object will have both 
`operator_extra_links` (added by the method `serialize_to_json` with the method 
as value) and `_operator_extra_links`, also the property type should be 
excluded anyway because it is not deserialized.  



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