ashb commented on code in PR #46981:
URL: https://github.com/apache/airflow/pull/46981#discussion_r1966172700
##########
airflow/api_fastapi/core_api/security.py:
##########
@@ -26,24 +25,13 @@
from airflow.api_fastapi.app import get_auth_manager
from airflow.auth.managers.models.base_user import BaseUser
from airflow.auth.managers.models.resource_details import DagAccessEntity,
DagDetails
-from airflow.configuration import conf
-from airflow.utils.jwt_signer import JWTSigner, get_signing_key
if TYPE_CHECKING:
from airflow.auth.managers.base_auth_manager import ResourceMethod
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
-@cache
-def get_signer() -> JWTSigner:
Review Comment:
Nothing (I think) ever called this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]