You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
New example along storyline: City reporting #52483
A new Dag is implemented along the described storyline for "City reporting"
This includes:
New Dag is added in Taskflow as well as classic implementation
Dag is according to checklist
Previous examples that are content-wise replaced are deleted to incrementally clean-up
Airflow documentation is adjusted to point to new examples are replaced
General example storyline overview is adjusted and the functioning of the new example is described
Use case/motivation
Airflow Examples have been grown in number and focus over the past years. They purpose multiple things:
Serve as tutorials to learn Airflow DAG implementation
Serve with code snippets for documentation
Serve for testing the setup
(some) service for CI integration testing
Some example DAGs are in a good quality, some are not following best practices. Current examples do not follow a structure.
There are example DAGs contained in the Airflow core (currently pushed to standard provider/example_dags) as well as there are more examples in other providers. But examples from other providers are lot loaded automatically.
So in the Airflow 3 Dev Calls there was a demand named to clean-up and optimize example DAGs.
I’ve tried the city reporting example locally in both TaskFlow and classic operator styles. Both produce one mapped report per city, including when several turbines report from the same city.
Before connecting it to #52481, is there an agreed asset and format for the turbine readings? The earlier draft in #62411 used power_output_kw. Should the city report show total power per timestamp, or energy produced over a reporting period? For the latter, does the producer supply interval energy readings or a sampling interval?
Activity
amoghrajesh commentedon Aug 25, 2025
Per Slack thread, targeting “example DAGs” won’t be possible in 3.1, so we’re moving this to Airflow 3.1+
23241a6749 commentedon Nov 23, 2026
I’ve tried the city reporting example locally in both TaskFlow and classic operator styles. Both produce one mapped report per city, including when several turbines report from the same city.
Before connecting it to #52481, is there an agreed asset and format for the turbine readings? The earlier draft in #62411 used
power_output_kw. Should the city report show total power per timestamp, or energy produced over a reporting period? For the latter, does the producer supply interval energy readings or a sampling interval?