Skip to content

Commit b317e57

Browse files
committed
import order and double casting
1 parent 79f8a48 commit b317e57

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/google/adk/agents/invocation_context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,4 +414,4 @@ def _find_matching_function_call(
414414

415415

416416
def new_invocation_context_id() -> str:
417-
return "e-" + str(cast(str, platform_uuid.new_uuid()))
417+
return "e-" + cast(str, platform_uuid.new_uuid())

src/google/adk/events/event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
from __future__ import annotations
1616

17-
from typing import Optional
1817
from typing import cast
18+
from typing import Optional
1919

2020
from google.adk.platform import time as platform_time
2121
from google.adk.platform import uuid as platform_uuid

0 commit comments

Comments
 (0)