Update session data
(self, session_id: str, updates: Dict[str, Any])
| 52 | return self._sessions.get(session_id) |
| 53 | |
| 54 | def update_session(self, session_id: str, updates: Dict[str, Any]) -> bool: |
| 55 | """Update session data""" |
| 56 | if session_id not in self._sessions: |
| 57 | return False |
| 58 | |
| 59 | with self._lock: |
| 60 | self._sessions[session_id].update(updates) |
| 61 | return True |
| 62 | |
| 63 | def delete_session(self, session_id: str) -> bool: |
| 64 | """Delete a session""" |
no test coverage detected