uranusjr commented on code in PR #52234:
URL: https://github.com/apache/airflow/pull/52234#discussion_r2196630623
##########
airflow-core/src/airflow/serialization/serialized_objects.py:
##########
@@ -738,7 +752,7 @@ def serialize(
return var.to_dict()
elif isinstance(var, MappedOperator):
return
cls._encode(SerializedBaseOperator.serialize_mapped_operator(var), type_=DAT.OP)
- elif isinstance(var, TaskSDKBaseOperator):
+ elif isinstance(var, (BaseOperator, SerializedBaseOperator)):
Review Comment:
We have explicit tests ensuring double-serializing should return a correct
result, this keeps the test successful. I don’t know the idea behind that but
this is needed to keep CI green.
--
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]