This is an automated email from the ASF dual-hosted git repository. kaxilnaik pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push: new bf002356ba0 Revert Asset to Dataset for Core Extension Doc (#42867) bf002356ba0 is described below commit bf002356ba0a38d317adeb651f066588908a79a3 Author: Kaxil Naik <kaxiln...@apache.org> AuthorDate: Wed Oct 9 19:45:50 2024 +0100 Revert Asset to Dataset for Core Extension Doc (#42867) This PR reverts Core Extension doc change (https://airflow.apache.org/docs/apache-airflow-providers/core-extensions/index.html) from https://github.com/apache/airflow/pull/41348 Since those docs only work on Airflow stable, we can only change this after 3.0 --- .../core-extensions/asset-schemes.rst | 11 +++++++---- .../howto/create-custom-providers.rst | 7 +++++-- docs/exts/operators_and_hooks_ref.py | 2 +- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/docs/apache-airflow-providers/core-extensions/asset-schemes.rst b/docs/apache-airflow-providers/core-extensions/asset-schemes.rst index 0a629b9f8a4..87bfd8ae676 100644 --- a/docs/apache-airflow-providers/core-extensions/asset-schemes.rst +++ b/docs/apache-airflow-providers/core-extensions/asset-schemes.rst @@ -15,14 +15,17 @@ specific language governing permissions and limitations under the License. -asset URI Schemes +Dataset URI Schemes ------------------- -This is a summary of all Apache Airflow Community provided implementations of asset URI schemes +This is a summary of all Apache Airflow Community provided implementations of dataset URI schemes exposed via Airflow core and community-managed providers. -See :doc:`documentation on assets <apache-airflow:authoring-and-scheduling/assets>` for details on how asset URIs work. +.. + TODO: Change this from Dataset to Asset in Airflow 3.0 -.. airflow-asset-schemes:: +See :doc:`documentation on Datasets <apache-airflow:authoring-and-scheduling/datasets>` for details on how dataset URIs work. + +.. airflow-dataset-schemes:: :tags: None :header-separator: " diff --git a/docs/apache-airflow-providers/howto/create-custom-providers.rst b/docs/apache-airflow-providers/howto/create-custom-providers.rst index d95719e38bc..ba6d8068c42 100644 --- a/docs/apache-airflow-providers/howto/create-custom-providers.rst +++ b/docs/apache-airflow-providers/howto/create-custom-providers.rst @@ -96,9 +96,12 @@ Exposing customized functionality to the Airflow's core: * ``filesystems`` - this field should contain the list of all the filesystem module names. See :doc:`apache-airflow:core-concepts/objectstorage` for description of the filesystems. -* ``asset-uris`` - this field should contain the list of the URI schemes together with +.. + TODO: Change this from Dataset to Asset in Airflow 3.0 + +* ``dataset-uris`` - this field should contain the list of the URI schemes together with class names implementing normalization functions. - See :doc:`apache-airflow:authoring-and-scheduling/assets` for description of the asset URIs. + See :doc:`apache-airflow:authoring-and-scheduling/datasets` for description of the dataset URIs. .. note:: Deprecated values diff --git a/docs/exts/operators_and_hooks_ref.py b/docs/exts/operators_and_hooks_ref.py index fe6cd5d3300..25b9d1d7794 100644 --- a/docs/exts/operators_and_hooks_ref.py +++ b/docs/exts/operators_and_hooks_ref.py @@ -538,7 +538,7 @@ def setup(app): app.add_directive("airflow-executors", ExecutorsDirective) app.add_directive("airflow-deferrable-operators", DeferrableOperatorDirective) app.add_directive("airflow-deprecations", DeprecationsDirective) - app.add_directive("airflow-asset-schemes", DatasetSchemeDirective) + app.add_directive("airflow-dataset-schemes", DatasetSchemeDirective) return {"parallel_read_safe": True, "parallel_write_safe": True}