Copilot commented on code in PR #73362:
URL: https://github.com/apache/airflow/pull/73362#discussion_r4051283081


##########
airflow-core/docs/core-concepts/operators.rst:
##########
@@ -355,7 +355,7 @@ This ensures the f-string processing results in a string 
containing the literal
 Pre- and post-execute methods
 -----------------------------
 
-The ``pre_execute`` and ``post_execute`` methods are called before and after 
the operator is executed, respectively.
+The :meth:`~airflow.models.baseoperator.BaseOperator.pre_execute` and 
:meth:`~airflow.models.baseoperator.BaseOperator.post_execute` methods are 
called before and after the operator is executed, respectively.

Review Comment:
   These targets point at `airflow.models.baseoperator.BaseOperator`, but that 
module is not present in this checkout; `BaseOperator` is exposed by the public 
`airflow.sdk` package and implemented under `airflow.sdk.bases.operator`. As 
written, the new cross-references cannot resolve to the method definitions, so 
use the public SDK target here.



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