uranusjr commented on code in PR #31904:
URL: https://github.com/apache/airflow/pull/31904#discussion_r1245934496
##########
airflow/serialization/serialized_objects.py:
##########
@@ -822,7 +822,9 @@ def _serialize_node(cls, op: BaseOperator | MappedOperator,
include_deps: bool)
if op.operator_extra_links:
serialize_op["_operator_extra_links"] =
cls._serialize_operator_extra_links(
- op.operator_extra_links
+ op.operator_extra_links.fget(op) # type: ignore
Review Comment:
Better to use `__get__` here if possible, I think that’s what Mypy is trying
to persuade you into. (And to repeat myself, please try to not ignore things
until you’ve exhausted all possibilities)
--
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]