File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed
Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -1944,7 +1944,7 @@ def append_session_event(
19441944 DeprecationWarning ,
19451945 stacklevel = 2 ,
19461946 )
1947- return self .sessions .events .append ( # type: ignore[no-any-return]
1947+ return self .sessions .events .append (
19481948 name = name ,
19491949 author = author ,
19501950 invocation_id = invocation_id ,
@@ -1967,7 +1967,7 @@ def list_session_events(
19671967 DeprecationWarning ,
19681968 stacklevel = 2 ,
19691969 )
1970- return self .sessions .events .list (name = name , config = config ) # type: ignore[no-any-return]
1970+ return self .sessions .events .list (name = name , config = config )
19711971
19721972
19731973class AsyncAgentEngines (_api_module .BaseModule ):
@@ -2436,7 +2436,13 @@ async def append_session_event(
24362436 DeprecationWarning ,
24372437 stacklevel = 2 ,
24382438 )
2439- return await self .sessions .events .append (name = name , config = config ) # type: ignore[no-any-return]
2439+ return await self .sessions .events .append (
2440+ name = name ,
2441+ author = author ,
2442+ invocation_id = invocation_id ,
2443+ timestamp = timestamp ,
2444+ config = config ,
2445+ )
24402446
24412447 async def delete_memory (
24422448 self ,
Original file line number Diff line number Diff line change @@ -608,10 +608,6 @@ def _update(
608608 _events = None
609609
610610 @property
611- @_common .experimental_warning (
612- "The Vertex SDK GenAI agent_engines.sessions.events module is "
613- "experimental, and may change in future versions."
614- )
615611 def events (self ) -> "session_events_module.SessionEvents" :
616612 if self ._events is None :
617613 try :
@@ -1094,10 +1090,6 @@ async def _update(
10941090 _events = None
10951091
10961092 @property
1097- @_common .experimental_warning (
1098- "The Vertex SDK GenAI agent_engines.sessions.events module is "
1099- "experimental, and may change in future versions."
1100- )
11011093 def events (self ) -> "session_events_module.AsyncSessionEvents" :
11021094 if self ._events is None :
11031095 try :
You can’t perform that action at this time.
0 commit comments