Skip to content

Commit a33153a

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

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

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

424424

425425
class CompletionsHTTPClient:

0 commit comments

Comments
 (0)