ashb commented on code in PR #47008:
URL: https://github.com/apache/airflow/pull/47008#discussion_r1967321298


##########
docs/apache-airflow/howto/define-extra-link.rst:
##########
@@ -31,7 +31,7 @@ The following code shows how to add extra links to an 
operator via Plugins:
 .. code-block:: python
 
     from airflow.models.baseoperator import BaseOperator
-    from airflow.models.baseoperatorlink import BaseOperatorLink
+    from airflow.sdk.definitions.baseoperatorlink import BaseOperatorLink

Review Comment:
   @amoghrajesh Important rule to follow: User facing docs should instruct 
people to only import from `airflow.sdk`, never directly from `.definitions` 
please.



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