Get the project ID from the session ID.
(session_id: str)
| 25 | |
| 26 | |
| 27 | async 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 | |
| 34 | async def create_session(data: dict) -> None: |
no test coverage detected
searching dependent graphs…