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

Method get_session

src/google/adk/cli/api_server.py:1091–1100  ·  view source on GitHub ↗
(
        app_name: str, user_id: str, session_id: str
    )

Source from the content-addressed store, hash-verified

1089 response_model_exclude_none=True,
1090 )
1091 async def get_session(
1092 app_name: str, user_id: str, session_id: str
1093 ) -> Session:
1094 session = await self.session_service.get_session(
1095 app_name=app_name, user_id=user_id, session_id=session_id
1096 )
1097 if not session:
1098 raise HTTPException(status_code=404, detail="Session not found")
1099 self.current_app_name_ref.value = app_name
1100 return session
1101
1102 @app.get(
1103 "/apps/{app_name}/users/{user_id}/sessions",

Callers 15

run_promptFunction · 0.45
mainFunction · 0.45
run_promptFunction · 0.45
assert_session_valuesFunction · 0.45
check_rolls_in_stateFunction · 0.45
run_debugMethod · 0.45
run_cliFunction · 0.45
run_once_cliFunction · 0.45

Calls

no outgoing calls