ashb commented on code in PR #52234:
URL: https://github.com/apache/airflow/pull/52234#discussion_r2198056662
##########
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:
I'd say keep it for now in this PR, but remove it. This isn't useful anymore.
--
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]