Skip to content

Commit 8596598

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

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
@@ -406,7 +406,7 @@ def _validate_model_string(model: str) -> bool:
406406

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

411411

412412
class CompletionsHTTPClient:

0 commit comments

Comments
 (0)