This is an automated email from the ASF dual-hosted git repository.
ephraimanierobi 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 061ea4e68a Remove unused TYPE_CHECKING import (#34750)
061ea4e68a is described below
commit 061ea4e68ac112ee042b5d3ae98f87c26cb10758
Author: Ephraim Anierobi <[email protected]>
AuthorDate: Wed Oct 4 11:18:01 2023 +0100
Remove unused TYPE_CHECKING import (#34750)
Since there's nothing in the if statement
---
airflow/www/security.py | 5 -----
1 file changed, 5 deletions(-)
diff --git a/airflow/www/security.py b/airflow/www/security.py
index 012ecaed39..2fa8463b3c 100644
--- a/airflow/www/security.py
+++ b/airflow/www/security.py
@@ -16,15 +16,10 @@
# under the License.
from __future__ import annotations
-from typing import TYPE_CHECKING
-
from deprecated import deprecated
from airflow.auth.managers.fab.security_manager.override import
FabAirflowSecurityManagerOverride
-if TYPE_CHECKING:
- pass
-
EXISTING_ROLES = {
"Admin",
"Viewer",