Skip to content

Commit b491999

Browse files
committed
revert(typing): remove unnecessary model_post_init typing
1 parent 8082764 commit b491999

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/google/adk/events/event.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
from __future__ import annotations
1616

1717
from typing import Optional
18-
from typing import Any
1918
from typing import cast
2019

2120
from google.adk.platform import time as platform_time
@@ -75,7 +74,7 @@ class Event(LlmResponse):
7574
timestamp: float = Field(default_factory=lambda: platform_time.get_time())
7675
"""The timestamp of the event."""
7776

78-
def model_post_init(self, __context: Any) -> None:
77+
def model_post_init(self, __context):
7978
"""Post initialization logic for the event."""
8079
# Generates a random ID for the event.
8180
if not self.id:

0 commit comments

Comments
 (0)