fat-catTW commented on code in PR #76748:
URL: https://github.com/apache/airflow/pull/76748#discussion_r4609279939


##########
airflow-core/src/airflow/api_fastapi/auth/managers/base_auth_manager.py:
##########
@@ -147,6 +147,10 @@ def init(self) -> None:
     def deserialize_user(self, token: dict[str, Any]) -> T:
         """Create a user object from dict."""
 
+    async def deserialize_user_async(self, token: dict[str, Any]) -> T:

Review Comment:
   Thanks!
   Added it to the auth manager documentation. It explains the synchronous 
fallback and recommends overriding `deserialize_user_async` for I/O.



-- 
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]

Reply via email to