Get an existing session for a project.
(project_name: str)
| 436 | |
| 437 | |
| 438 | def get_session(project_name: str) -> Optional[SpecChatSession]: |
| 439 | """Get an existing session for a project.""" |
| 440 | with _sessions_lock: |
| 441 | return _sessions.get(project_name) |
| 442 | |
| 443 | |
| 444 | async def create_session(project_name: str, project_dir: Path) -> SpecChatSession: |
no outgoing calls
no test coverage detected