From 2ad1f79422fddd1a07857a5f6796955f3eece2cd Mon Sep 17 00:00:00 2001 From: "Xiang (Sean) Zhou" Date: Sun, 18 May 2025 10:24:55 -0700 Subject: [PATCH] refactor: replace logger.warn which is deprecated with logger.warning PiperOrigin-RevId: 760311574 --- src/google/adk/cli/fast_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/google/adk/cli/fast_api.py b/src/google/adk/cli/fast_api.py index 085fce1..8729d6b 100644 --- a/src/google/adk/cli/fast_api.py +++ b/src/google/adk/cli/fast_api.py @@ -280,7 +280,7 @@ def get_fast_api_app( # If any tasks are still pending, log it if pending: - logger.warn( + logger.warning( f"{len(pending)} toolset cleanup tasks didn't complete in time" ) for task in pending: