This is an automated email from the ASF dual-hosted git repository.

weilee 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 59d765e0a9f docs(newsfragments): check AIR302 rules implemented in 
https://github.com/astral-sh/ruff/pull/16965 (#48618)
59d765e0a9f is described below

commit 59d765e0a9f5dcc6d4c0c5b93f7b7a55e67a1868
Author: Wei Lee <[email protected]>
AuthorDate: Mon Apr 7 16:27:39 2025 +0800

    docs(newsfragments): check AIR302 rules implemented in 
https://github.com/astral-sh/ruff/pull/16965 (#48618)
---
 airflow-core/newsfragments/41348.significant.rst  | 4 ++--
 airflow-core/newsfragments/41368.significant.rst  | 2 +-
 airflow-core/newsfragments/46375.significant.rst  | 2 +-
 airflow-core/newsfragments/46663.significant.rst  | 2 +-
 airflow-core/newsfragments/47599.significant.rst  | 2 +-
 airflow-core/newsfragments/48008.significant.rst  | 2 +-
 airflow-core/newsfragments/aip-72.significant.rst | 2 +-
 airflow-core/newsfragments/api-38.significant.rst | 4 ++--
 8 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/airflow-core/newsfragments/41348.significant.rst 
b/airflow-core/newsfragments/41348.significant.rst
index 0ec8044d4cc..b212a5f18e3 100644
--- a/airflow-core/newsfragments/41348.significant.rst
+++ b/airflow-core/newsfragments/41348.significant.rst
@@ -265,8 +265,8 @@ Rename ``Dataset`` as ``Asset``
 
       * [ ] context key ``triggering_dataset_events`` → 
``triggering_asset_events``
       * [x] ``airflow.api_connexion.security.requires_access_dataset`` → 
``airflow.api_connexion.security.requires_access_asset``
-      * [ ] ``airflow.auth.managers.base_auth_manager.is_authorized_dataset`` 
→ ``airflow.api_fastapi.auth.managers.base_auth_manager.is_authorized_asset``
-      * [ ] ``airflow.auth.managers.models.resource_details.DatasetDetails`` → 
``airflow.api_fastapi.auth.managers.models.resource_details.AssetDetails``
+      * [x] ``airflow.auth.managers.base_auth_manager.is_authorized_dataset`` 
→ ``airflow.api_fastapi.auth.managers.base_auth_manager.is_authorized_asset``
+      * [x] ``airflow.auth.managers.models.resource_details.DatasetDetails`` → 
``airflow.api_fastapi.auth.managers.models.resource_details.AssetDetails``
       * [x] ``airflow.lineage.hook.DatasetLineageInfo`` → 
``airflow.lineage.hook.AssetLineageInfo``
       * [x] ``airflow.security.permissions.RESOURCE_DATASET`` → 
``airflow.security.permissions.RESOURCE_ASSET``
       * [x] ``airflow.www.auth.has_access_dataset`` → 
``airflow.www.auth.has_access_dataset.has_access_asset``
diff --git a/airflow-core/newsfragments/41368.significant.rst 
b/airflow-core/newsfragments/41368.significant.rst
index c0809b053d7..8621be9ca4e 100644
--- a/airflow-core/newsfragments/41368.significant.rst
+++ b/airflow-core/newsfragments/41368.significant.rst
@@ -28,7 +28,7 @@ For example, instead of ``from airflow.sensors import 
TimeDeltaSensor``, use ``f
 
     * AIR302
 
-      * [ ] ``airflow.sensors.base_sensor_operator.BaseSensorOperator`` → 
``airflow.sdk.bases.sensor.BaseSensorOperator``
+      * [x] ``airflow.sensors.base_sensor_operator.BaseSensorOperator`` → 
``airflow.sdk.bases.sensor.BaseSensorOperator``
       * [x] ``airflow.sensors.date_time_sensor.DateTimeSensor`` → 
``airflow.sensors.date_time.DateTimeSensor``
       * [x] ``airflow.hooks.base_hook.BaseHook`` → 
``airflow.hooks.base.BaseHook``
 
diff --git a/airflow-core/newsfragments/46375.significant.rst 
b/airflow-core/newsfragments/46375.significant.rst
index b8443726d41..dafd2b9f387 100644
--- a/airflow-core/newsfragments/46375.significant.rst
+++ b/airflow-core/newsfragments/46375.significant.rst
@@ -19,4 +19,4 @@ Any occurrences of the ``secrets_masker`` module will have to 
be updated from ``
 
     * AIR302
 
-      * [ ] ``airflow.utils.log.secrets_masker`` → 
``airflow.sdk.execution_time.secrets_masker``
+      * [x] ``airflow.utils.log.secrets_masker`` → 
``airflow.sdk.execution_time.secrets_masker``
diff --git a/airflow-core/newsfragments/46663.significant.rst 
b/airflow-core/newsfragments/46663.significant.rst
index 7a9d8df5c98..b347d4dbd69 100644
--- a/airflow-core/newsfragments/46663.significant.rst
+++ b/airflow-core/newsfragments/46663.significant.rst
@@ -24,7 +24,7 @@ Property ``allow_future_exec_dates`` on the DAG class has 
also been removed.
 
     * AIR302
 
-      * [ ] property ``airflow...DAG.allow_future_exec_dates``
+      * [x] property ``airflow...DAG.allow_future_exec_dates``
 
   * ``airflow config lint``
 
diff --git a/airflow-core/newsfragments/47599.significant.rst 
b/airflow-core/newsfragments/47599.significant.rst
index 454f18d03c6..5e6c5c713a5 100644
--- a/airflow-core/newsfragments/47599.significant.rst
+++ b/airflow-core/newsfragments/47599.significant.rst
@@ -20,4 +20,4 @@ The ability to create session from ``utils/db.py`` is removed.
 
     * AIR302
 
-      * [ ] ``airflow.utils.db.create_session``
+      * [x] ``airflow.utils.db.create_session``
diff --git a/airflow-core/newsfragments/48008.significant.rst 
b/airflow-core/newsfragments/48008.significant.rst
index e154f597d7e..58a76acc5c5 100644
--- a/airflow-core/newsfragments/48008.significant.rst
+++ b/airflow-core/newsfragments/48008.significant.rst
@@ -17,4 +17,4 @@ The BaseNotifier class has been moved to ``airflow.sdk``.
 
     * AIR302
 
-      * [ ] ``airflow.notifications.basenotifier.BaseNotifier`` → 
``airflow.sdk.BaseNotifier``
+      * [x] ``airflow.notifications.basenotifier.BaseNotifier`` → 
``airflow.sdk.BaseNotifier``
diff --git a/airflow-core/newsfragments/aip-72.significant.rst 
b/airflow-core/newsfragments/aip-72.significant.rst
index 66ef3944f3d..7a274ee5809 100644
--- a/airflow-core/newsfragments/aip-72.significant.rst
+++ b/airflow-core/newsfragments/aip-72.significant.rst
@@ -111,4 +111,4 @@ As part of this change the following breaking changes have 
occurred:
 
     * AIR302
 
-      * [ ] ``airflow.models.baseoperatorlink.BaseOperatorLink`` → 
``airflow.sdk.definitions.baseoperatorlink.BaseOperatorLink``
+      * [x] ``airflow.models.baseoperatorlink.BaseOperatorLink`` → 
``airflow.sdk.definitions.baseoperatorlink.BaseOperatorLink``
diff --git a/airflow-core/newsfragments/api-38.significant.rst 
b/airflow-core/newsfragments/api-38.significant.rst
index cd243af621f..a805022545f 100644
--- a/airflow-core/newsfragments/api-38.significant.rst
+++ b/airflow-core/newsfragments/api-38.significant.rst
@@ -27,5 +27,5 @@
 
     * AIR302
 
-      * [ ] ``default_view`` argument to DAG removed
-      * [ ] ``orientation`` argument to DAG removed
+      * [x] ``default_view`` argument to DAG removed
+      * [x] ``orientation`` argument to DAG removed

Reply via email to