Skip to content

Commit 4f0b498

Browse files
committed
docs(newsfragments): check AIR302 rules implemented in astral-sh/ruff#16965
1 parent cc54a19 commit 4f0b498

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

airflow-core/newsfragments/41348.significant.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@ Rename ``Dataset`` as ``Asset``
265265

266266
* [ ] context key ``triggering_dataset_events`` → ``triggering_asset_events``
267267
* [x] ``airflow.api_connexion.security.requires_access_dataset`` → ``airflow.api_connexion.security.requires_access_asset``
268-
* [ ] ``airflow.auth.managers.base_auth_manager.is_authorized_dataset`` → ``airflow.api_fastapi.auth.managers.base_auth_manager.is_authorized_asset``
269-
* [ ] ``airflow.auth.managers.models.resource_details.DatasetDetails`` → ``airflow.api_fastapi.auth.managers.models.resource_details.AssetDetails``
268+
* [x] ``airflow.auth.managers.base_auth_manager.is_authorized_dataset`` → ``airflow.api_fastapi.auth.managers.base_auth_manager.is_authorized_asset``
269+
* [x] ``airflow.auth.managers.models.resource_details.DatasetDetails`` → ``airflow.api_fastapi.auth.managers.models.resource_details.AssetDetails``
270270
* [x] ``airflow.lineage.hook.DatasetLineageInfo`` → ``airflow.lineage.hook.AssetLineageInfo``
271271
* [x] ``airflow.security.permissions.RESOURCE_DATASET`` → ``airflow.security.permissions.RESOURCE_ASSET``
272272
* [x] ``airflow.www.auth.has_access_dataset`` → ``airflow.www.auth.has_access_dataset.has_access_asset``

airflow-core/newsfragments/41368.significant.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ For example, instead of ``from airflow.sensors import TimeDeltaSensor``, use ``f
2828

2929
* AIR302
3030

31-
* [ ] ``airflow.sensors.base_sensor_operator.BaseSensorOperator`` → ``airflow.sdk.bases.sensor.BaseSensorOperator``
31+
* [x] ``airflow.sensors.base_sensor_operator.BaseSensorOperator`` → ``airflow.sdk.bases.sensor.BaseSensorOperator``
3232
* [x] ``airflow.sensors.date_time_sensor.DateTimeSensor`` → ``airflow.sensors.date_time.DateTimeSensor``
3333
* [x] ``airflow.hooks.base_hook.BaseHook`` → ``airflow.hooks.base.BaseHook``
3434

airflow-core/newsfragments/46375.significant.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ Any occurrences of the ``secrets_masker`` module will have to be updated from ``
1919

2020
* AIR302
2121

22-
* [ ] ``airflow.utils.log.secrets_masker`` → ``airflow.sdk.execution_time.secrets_masker``
22+
* [x] ``airflow.utils.log.secrets_masker`` → ``airflow.sdk.execution_time.secrets_masker``

airflow-core/newsfragments/46663.significant.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Property ``allow_future_exec_dates`` on the DAG class has also been removed.
2424

2525
* AIR302
2626

27-
* [ ] property ``airflow...DAG.allow_future_exec_dates``
27+
* [x] property ``airflow...DAG.allow_future_exec_dates``
2828

2929
* ``airflow config lint``
3030

airflow-core/newsfragments/47599.significant.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ The ability to create session from ``utils/db.py`` is removed.
2020

2121
* AIR302
2222

23-
* [ ] ``airflow.utils.db.create_session``
23+
* [x] ``airflow.utils.db.create_session``

airflow-core/newsfragments/48008.significant.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ The BaseNotifier class has been moved to ``airflow.sdk``.
1717

1818
* AIR302
1919

20-
* [ ] ``airflow.notifications.basenotifier.BaseNotifier`` → ``airflow.sdk.BaseNotifier``
20+
* [x] ``airflow.notifications.basenotifier.BaseNotifier`` → ``airflow.sdk.BaseNotifier``

airflow-core/newsfragments/aip-72.significant.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,4 @@ As part of this change the following breaking changes have occurred:
111111

112112
* AIR302
113113

114-
* [ ] ``airflow.models.baseoperatorlink.BaseOperatorLink`` → ``airflow.sdk.definitions.baseoperatorlink.BaseOperatorLink``
114+
* [x] ``airflow.models.baseoperatorlink.BaseOperatorLink`` → ``airflow.sdk.definitions.baseoperatorlink.BaseOperatorLink``

airflow-core/newsfragments/api-38.significant.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@
2727

2828
* AIR302
2929

30-
* [ ] ``default_view`` argument to DAG removed
31-
* [ ] ``orientation`` argument to DAG removed
30+
* [x] ``default_view`` argument to DAG removed
31+
* [x] ``orientation`` argument to DAG removed

0 commit comments

Comments
 (0)