MCPcopy Index your code
hub / github.com/google/adk-python / get_current_session

Method get_current_session

tests/integration/utils/test_runner.py:77–82  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

75 )
76
77 def get_current_session(self) -> Optional[Session]:
78 return self.session_service.get_session(
79 app_name=self.app_name,
80 user_id=self.user_id,
81 session_id=self.current_session_id,
82 )
83
84 def get_events(self) -> list[Event]:
85 return self.get_current_session().events

Callers 2

get_eventsMethod · 0.95

Calls 1

get_sessionMethod · 0.45

Tested by

no test coverage detected