Sanjays2402 opened a new pull request, #70090:
URL: https://github.com/apache/airflow/pull/70090
Closes #60477
## Fixes broken `BaseOperator` link in `templates-ref`
The template variable reference table in
`airflow-core/docs/templates-ref.rst`
linked the `{{ task }}` variable to
`:class:`~airflow.models.baseoperator.BaseOperator``. That module no longer
exists on `main` — `BaseOperator` now lives in the Task SDK — so the link is
dead and renders as an unresolvable reference.
This updates the reference to the canonical public path
`:class:`~airflow.sdk.BaseOperator``, which is the form already used
throughout
the rest of the core docs (e.g. `howto/custom-operator.rst`,
`authoring-and-scheduling/deferring.rst`, `tutorial/fundamentals.rst`).
Doc-only change — no behavior change, no newsfragment required.
<!--
Thank you for contributing! Please make sure that your code changes
are covered with tests. And in case of new features or big changes
remember to adjust the documentation.
-->
---
**^ Add meaningful description above**
- [x] Description above provides context of the change
- [x] Unit tests coverage for changes are not needed (docs-only change)
- [x] Target Github ISSUE in description if exists
- [x] Commits follow "[How to write a good git commit
message](https://chris.beams.io/posts/git-commit/)"
- [x] Relevant documentation is updated including usage instructions.
- [x] I will engage committers as reviewers and add my changes to a public
repo
--
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]