MCPcopy Create free account
hub / github.com/HKUDS/Paper2Slides / __init__

Method __init__

api/server.py:46–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

44# Global state for tracking running sessions
45class SessionManager:
46 def __init__(self):
47 self.running_session = None
48 self.cancelled_sessions = set() # Track cancelled session IDs
49 self.lock = asyncio.Lock()
50
51 async def start_session(self, session_id: str) -> bool:
52 """Try to start a new session. Returns False if another session is already running"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected