MCPcopy Create free account
hub / github.com/AgentOps-AI/agentops / _get_project_id

Function _get_project_id

app/api/agentops/exporter/export.py:27–31  ·  view source on GitHub ↗

Get the project ID from the session ID.

(session_id: str)

Source from the content-addressed store, hash-verified

25
26
27async def _get_project_id(session_id: str) -> str:
28 """Get the project ID from the session ID."""
29 supabase = await get_async_supabase()
30 session = await supabase.table('sessions').select('project_id').eq('id', session_id).single().execute()
31 return session.data['project_id']
32
33
34async def create_session(data: dict) -> None:

Callers 5

create_agentFunction · 0.85
create_llm_eventFunction · 0.85
create_action_eventFunction · 0.85
create_tool_eventFunction · 0.85
create_error_eventFunction · 0.85

Calls 2

get_async_supabaseFunction · 0.90
selectMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…