This is an automated email from the ASF dual-hosted git repository. kaxilnaik pushed a commit to branch v3-0-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 9f3aed42596b910448ae103a9e79ea8bb3de14d9 Author: Jens Scheffler <[email protected]> AuthorDate: Tue Apr 22 08:20:36 2025 +0200 Update screenshots for Asset Scheduling (#49530) (cherry picked from commit 1c6509eadd2f30d145067bbc15a3a4a7ba416c38) --- .../{datasets.rst => asset-scheduling.rst} | 2 +- .../docs/authoring-and-scheduling/event-scheduling.rst | 2 +- airflow-core/docs/authoring-and-scheduling/index.rst | 2 +- airflow-core/docs/img/asset-scheduled-dags.png | Bin 96199 -> 0 bytes airflow-core/docs/img/ui-dark/asset_scheduled_dags.png | Bin 0 -> 46312 bytes airflow-core/docs/img/ui-light/asset_scheduled_dags.png | Bin 0 -> 49349 bytes .../docs/installation/upgrading_to_airflow3.rst | 2 +- airflow-core/docs/redirects.txt | 3 ++- airflow-core/docs/templates-ref.rst | 6 +++--- airflow-core/docs/tutorial/taskflow.rst | 2 +- 10 files changed, 10 insertions(+), 9 deletions(-) diff --git a/airflow-core/docs/authoring-and-scheduling/datasets.rst b/airflow-core/docs/authoring-and-scheduling/asset-scheduling.rst similarity index 99% rename from airflow-core/docs/authoring-and-scheduling/datasets.rst rename to airflow-core/docs/authoring-and-scheduling/asset-scheduling.rst index 1c8387600c4..ed1b5d6521c 100644 --- a/airflow-core/docs/authoring-and-scheduling/datasets.rst +++ b/airflow-core/docs/authoring-and-scheduling/asset-scheduling.rst @@ -45,7 +45,7 @@ In addition to scheduling dags based on time, you can also schedule dags to run ... -.. image:: /img/asset-scheduled-dags.png +.. image:: /img/ui-dark/asset_scheduled_dags.png .. seealso:: diff --git a/airflow-core/docs/authoring-and-scheduling/event-scheduling.rst b/airflow-core/docs/authoring-and-scheduling/event-scheduling.rst index e6bcbe4ae86..b648398fd8a 100644 --- a/airflow-core/docs/authoring-and-scheduling/event-scheduling.rst +++ b/airflow-core/docs/authoring-and-scheduling/event-scheduling.rst @@ -25,7 +25,7 @@ predefined time-based schedules. This is particularly useful in modern data architectures where workflows need to react to real-time data changes, messages, or system signals. -By using assets, as described in :doc:`datasets`, you can configure dags to start execution when specific external events +By using assets, as described in :doc:`asset-scheduling`, you can configure dags to start execution when specific external events occur. Assets provide a mechanism to establish dependencies between external events and DAG execution, ensuring that workflows react dynamically to changes in the external environment. diff --git a/airflow-core/docs/authoring-and-scheduling/index.rst b/airflow-core/docs/authoring-and-scheduling/index.rst index 1b78d588bab..beefa12e5cc 100644 --- a/airflow-core/docs/authoring-and-scheduling/index.rst +++ b/airflow-core/docs/authoring-and-scheduling/index.rst @@ -43,6 +43,6 @@ It's recommended that you first review the pages in :doc:`core concepts </core-c cron timezone - Asset-Aware Scheduling <datasets> + Asset-Aware Scheduling <asset-scheduling> timetable Event-Driven Scheduling <event-scheduling> diff --git a/airflow-core/docs/img/asset-scheduled-dags.png b/airflow-core/docs/img/asset-scheduled-dags.png deleted file mode 100644 index 919ef21c4b9..00000000000 Binary files a/airflow-core/docs/img/asset-scheduled-dags.png and /dev/null differ diff --git a/airflow-core/docs/img/ui-dark/asset_scheduled_dags.png b/airflow-core/docs/img/ui-dark/asset_scheduled_dags.png new file mode 100644 index 00000000000..55a2d37d535 Binary files /dev/null and b/airflow-core/docs/img/ui-dark/asset_scheduled_dags.png differ diff --git a/airflow-core/docs/img/ui-light/asset_scheduled_dags.png b/airflow-core/docs/img/ui-light/asset_scheduled_dags.png new file mode 100644 index 00000000000..261ce4994ca Binary files /dev/null and b/airflow-core/docs/img/ui-light/asset_scheduled_dags.png differ diff --git a/airflow-core/docs/installation/upgrading_to_airflow3.rst b/airflow-core/docs/installation/upgrading_to_airflow3.rst index e30a0a41039..04c9bda2fa0 100644 --- a/airflow-core/docs/installation/upgrading_to_airflow3.rst +++ b/airflow-core/docs/installation/upgrading_to_airflow3.rst @@ -129,7 +129,7 @@ Breaking Changes Some capabilities which were deprecated in Airflow 2.x are not available in Airflow 3. These include: -- **SubDAGs**: Replaced by TaskGroups, Datasets, and Data Aware Scheduling. +- **SubDAGs**: Replaced by TaskGroups, Assets, and Data Aware Scheduling. - **Sequential Executor**: Replaced by LocalExecutor, which can be used with SQLite for local development use cases. - **SLAs**: Deprecated and removed; Will be replaced by forthcoming `Deadline Alerts <https://cwiki.apache.org/confluence/x/tglIEw>`_. - **Subdir**: Used as an argument on many CLI commands, ``--subdir`` or ``-S`` has been superseded by :doc:`DAG bundles </administration-and-deployment/dag-bundles>`. diff --git a/airflow-core/docs/redirects.txt b/airflow-core/docs/redirects.txt index 9580d883a7a..a8f31ee0eb4 100644 --- a/airflow-core/docs/redirects.txt +++ b/airflow-core/docs/redirects.txt @@ -137,7 +137,7 @@ concepts/scheduler.rst administration-and-deployment/scheduler.rst concepts/pools.rst administration-and-deployment/pools.rst concepts/priority-weight.rst administration-and-deployment/priority-weight.rst concepts/deferring.rst authoring-and-scheduling/deferring.rst -concepts/datasets.rst authoring-and-scheduling/datasets.rst +concepts/datasets.rst authoring-and-scheduling/asset-scheduling.rst concepts/cluster-policies.rst administration-and-deployment/cluster-policies.rst concepts/dags.rst core-concepts/dags.rst executor/local_kubernetes.rst core-concepts/executor/local_kubernetes.rst @@ -151,6 +151,7 @@ core-concepts/dag-run.rst authoring-and-scheduling/cron.rst core-concepts/executor/debug.rst core-concepts/debug.rst concepts/dagfile-processing.rst administration-and-deployment/dagfile-processing.rst authoring-and-scheduling/dagfile-processing.rst administration-and-deployment/dagfile-processing.rst +authoring-and-scheduling/datasets.rst authoring-and-scheduling/asset-scheduling.rst # Moving provider executor docs to providers ## The ``../`` indicates that it will move to the root of the docs directory, unlike the rest of diff --git a/airflow-core/docs/templates-ref.rst b/airflow-core/docs/templates-ref.rst index fe292501a58..1d226b1ec12 100644 --- a/airflow-core/docs/templates-ref.rst +++ b/airflow-core/docs/templates-ref.rst @@ -54,10 +54,10 @@ Variable Type Description | ``None`` ``{{ start_date }}`` `pendulum.DateTime`_ Datetime of when current task has been started. ``{{ inlets }}`` list List of inlets declared on the task. -``{{ inlet_events }}`` dict[str, ...] Access past events of inlet assets. See :doc:`Assets <authoring-and-scheduling/datasets>`. Added in version 2.10. +``{{ inlet_events }}`` dict[str, ...] Access past events of inlet assets. See :doc:`Assets <authoring-and-scheduling/asset-scheduling>`. Added in version 2.10. ``{{ outlets }}`` list List of outlets declared on the task. ``{{ outlet_events }}`` dict[str, ...] | Accessors to attach information to asset events that will be emitted by the current task. - | See :doc:`Assets <authoring-and-scheduling/datasets>`. Added in version 2.10. + | See :doc:`Assets <authoring-and-scheduling/asset-scheduling>`. Added in version 2.10. ``{{ dag }}`` DAG The currently running :class:`~airflow.models.dag.DAG`. You can read more about dags in :doc:`Dags <core-concepts/dags>`. ``{{ task }}`` BaseOperator | The currently running :class:`~airflow.models.baseoperator.BaseOperator`. You can read more about Tasks in :doc:`core-concepts/operators` ``{{ task_reschedule_count }}`` int How many times current task has been rescheduled. Relevant to ``mode="reschedule"`` sensors. @@ -81,7 +81,7 @@ Variable Type Description | Added in version 2.5. ``{{ triggering_asset_events }}`` dict[str, | If in an Asset Scheduled DAG, a map of Asset URI to a list of triggering :class:`~airflow.models.asset.AssetEvent` list[AssetEvent]] | (there may be more than one, if there are multiple Assets with different frequencies). - | Read more here :doc:`Assets <authoring-and-scheduling/datasets>`. + | Read more here :doc:`Assets <authoring-and-scheduling/asset-scheduling>`. | Added in version 2.4. =========================================== ===================== =================================================================== diff --git a/airflow-core/docs/tutorial/taskflow.rst b/airflow-core/docs/tutorial/taskflow.rst index e535e297d3d..c673d1f182b 100644 --- a/airflow-core/docs/tutorial/taskflow.rst +++ b/airflow-core/docs/tutorial/taskflow.rst @@ -423,6 +423,6 @@ What's Next Now that you've seen how to build clean, maintainable DAGs using the TaskFlow API, here are some good next steps: -- Explore asset-aware workflows in :doc:`/authoring-and-scheduling/datasets` +- Explore asset-aware workflows in :doc:`/authoring-and-scheduling/asset-scheduling` - Dive into scheduling patterns in :ref:`Scheduling Options <scheduling-section>` - Move to the next tutorial: :doc:`/tutorial/pipeline`
