Skip to content

Docs: clarify BaseSensorOperator parameters in Sensors guide#60275

Merged
potiuk merged 1 commit intoapache:mainfrom
jaymasiwal:docs-base-sensor-params
Jan 21, 2026
Merged

Docs: clarify BaseSensorOperator parameters in Sensors guide#60275
potiuk merged 1 commit intoapache:mainfrom
jaymasiwal:docs-base-sensor-params

Conversation

@jaymasiwal
Copy link
Contributor

What this PR does

The core Sensors documentation did not clearly document parameters inherited from
BaseSensorOperator (e.g. poke_interval, timeout, mode, soft_fail), and
there was no obvious link to where these parameters are defined after the Task SDK
refactor.

This PR adds a dedicated “BaseSensorOperator parameters” section to the
Sensors guide that:

  • Explains that all sensors inherit from BaseSensorOperator
  • Documents commonly used sensor parameters in one place
  • Links to the authoritative Task SDK API reference
  • Includes a short example showing typical usage

Why this is needed

Because BaseSensorOperator now lives in the Task SDK, provider API pages do not
always expose inherited parameters clearly. This makes it unnecessarily hard for
users to discover and understand how sensors behave.

This change improves discoverability without altering any runtime behavior.

Scope

  • Documentation only
  • No code or behavior changes

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@jaymasiwal
Copy link
Contributor Author

All checks are green now. Happy to adjust wording or structure if reviewers have suggestions.

@potiuk potiuk merged commit 928d5b4 into apache:main Jan 21, 2026
72 checks passed
@potiuk potiuk added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label Jan 21, 2026
@potiuk potiuk added this to the Airflow 3.1.7 milestone Jan 21, 2026
github-actions bot pushed a commit that referenced this pull request Jan 21, 2026
…ide (#60275)

(cherry picked from commit 928d5b4)

Co-authored-by: jaymasiwal <93549457+jaymasiwal@users.noreply.github.com>
@github-actions
Copy link

Backport successfully created: v3-1-test

Status Branch Result
v3-1-test PR Link

github-actions bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Jan 21, 2026
…ide (apache#60275)

(cherry picked from commit 928d5b4)

Co-authored-by: jaymasiwal <93549457+jaymasiwal@users.noreply.github.com>
jason810496 pushed a commit to jason810496/airflow that referenced this pull request Jan 22, 2026
amoghrajesh pushed a commit to astronomer/airflow that referenced this pull request Jan 22, 2026
suii2210 pushed a commit to suii2210/airflow that referenced this pull request Jan 26, 2026
ephraimbuddy pushed a commit that referenced this pull request Jan 27, 2026
ephraimbuddy pushed a commit that referenced this pull request Jan 28, 2026
…ide (#60275) (#60846)

(cherry picked from commit 928d5b4)

Co-authored-by: jaymasiwal <93549457+jaymasiwal@users.noreply.github.com>
@ephraimbuddy ephraimbuddy added the type:doc-only Changelog: Doc Only label Jan 28, 2026
shreyas-dev pushed a commit to shreyas-dev/airflow that referenced this pull request Jan 29, 2026
jhgoebbert pushed a commit to jhgoebbert/airflow_Owen-CH-Leung that referenced this pull request Feb 8, 2026
choo121600 pushed a commit to choo121600/airflow that referenced this pull request Feb 22, 2026
Subham-KRLX pushed a commit to Subham-KRLX/airflow that referenced this pull request Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch kind:documentation type:doc-only Changelog: Doc Only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants