Skip to content

Commit e3c8b06

Browse files
committed
fix(models): type cleanup task references
Signed-off-by: Anas Khan <83116240+anxkhn@users.noreply.github.com>
1 parent 9f52f64 commit e3c8b06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/google/adk/models/apigee_llm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ def _validate_model_string(model: str) -> bool:
441441

442442
# Keeps a strong reference to fire-and-forget cleanup tasks so they are not
443443
# garbage collected before they finish (see CompletionsHTTPClient._cleanup_client).
444-
_CLEANUP_TASKS: set[asyncio.Task] = set()
444+
_CLEANUP_TASKS: set[asyncio.Task[None]] = set()
445445

446446

447447
class CompletionsHTTPClient:

0 commit comments

Comments
 (0)