This is an automated email from the ASF dual-hosted git repository.
shahar 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 ce3619583ca Remove duplicated import in roles.py (#61896)
ce3619583ca is described below
commit ce3619583caef77b75db3ddb88e645db61e30219
Author: Henry Chen <[email protected]>
AuthorDate: Sat Feb 14 15:22:38 2026 +0800
Remove duplicated import in roles.py (#61896)
---
.../providers/fab/auth_manager/api_fastapi/routes/roles.py | 9 ---------
1 file changed, 9 deletions(-)
diff --git
a/providers/fab/src/airflow/providers/fab/auth_manager/api_fastapi/routes/roles.py
b/providers/fab/src/airflow/providers/fab/auth_manager/api_fastapi/routes/roles.py
index 50a34ffa9e4..460cfd47053 100644
---
a/providers/fab/src/airflow/providers/fab/auth_manager/api_fastapi/routes/roles.py
+++
b/providers/fab/src/airflow/providers/fab/auth_manager/api_fastapi/routes/roles.py
@@ -16,8 +16,6 @@
# under the License.
from __future__ import annotations
-from typing import TYPE_CHECKING
-
from fastapi import Depends, Path, Query, status
from airflow.api_fastapi.common.router import AirflowRouter
@@ -34,13 +32,6 @@ from
airflow.providers.fab.auth_manager.api_fastapi.services.roles import FABAut
from airflow.providers.fab.auth_manager.cli_commands.utils import
get_application_builder
from airflow.providers.fab.www.security import permissions
-if TYPE_CHECKING:
- from airflow.providers.fab.auth_manager.api_fastapi.datamodels.roles
import (
- RoleBody,
- RoleResponse,
- )
-
-
roles_router = AirflowRouter(prefix="/fab/v1", tags=["FabAuthManager"])