Skip to content

Examples: add measurement correction storyline DAGs (continuation of #61953)#66257

Open
andreahlert wants to merge 3 commits intoapache:mainfrom
andreahlert:pr-61953
Open

Examples: add measurement correction storyline DAGs (continuation of #61953)#66257
andreahlert wants to merge 3 commits intoapache:mainfrom
andreahlert:pr-61953

Conversation

@andreahlert
Copy link
Copy Markdown
Contributor

@andreahlert andreahlert commented May 2, 2026

Picking up #61953, which @Chandanakt opened in February for the measurement correction example DAG. The PR was marked as draft over static-check failures and got auto-closed by the bot a few weeks later when she didn't come back. Since #52482 is part of the Examples Refurbish epic and the storyline is going to need this DAG eventually, brought it back, rebased on main, and got the checks green.

Her two commits are preserved. On top I added one commit with the fixes that were needed to ship: ruff import order and format, trailing newlines, and replacing the deprecated from airflow import DAG / airflow.operators.python imports with the current airflow.sdk.DAG / airflow.providers.standard.operators.python paths so the operator example actually loads on Airflow 3.x.

Both DAGs parse cleanly and prek is fully green now. The original PR never got a maintainer review so this would be the first pass.

@jscheffl since you've been driving the Examples Refurbish epic, would you mind taking a look?

closes: #52482


Was generative AI tooling used to co-author this PR?
  • Yes

Chandanakt and others added 3 commits May 2, 2026 05:12
Signed-off-by: André Ahlert <andre@aex.partners>
Signed-off-by: André Ahlert <andre@aex.partners>
Address the static-check failures that left the original PR in draft:
- replace from airflow import DAG / airflow.operators.python with the
  current locations (airflow.sdk.DAG and airflow.providers.standard.
  operators.python) so the operator example loads on Airflow 3.x;
- apply ruff import sort and ruff format fixes flagged by prek;
- ensure trailing newline on both files.

Signed-off-by: André Ahlert <andre@aex.partners>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New example along storyline: Measurement correction

2 participants