(&self, session_id: String, options: PySessionOptions)
| 1292 | /// options: SessionOptions with ``session_store`` set to the backing store |
| 1293 | #[pyo3(signature = (session_id, options))] |
| 1294 | fn resume_session(&self, session_id: String, options: PySessionOptions) -> PyResult<PySession> { |
| 1295 | let opts = build_rust_session_options(options)?; |
| 1296 | let session = self |
| 1297 | .inner |
| 1298 | .resume_session(&session_id, opts) |
| 1299 | .map_err(|e| PyRuntimeError::new_err(format!("Failed to resume session: {e}")))?; |
| 1300 | Ok(PySession { |
| 1301 | inner: Arc::new(session), |
| 1302 | }) |
| 1303 | } |
| 1304 | |
| 1305 | /// Create a session pre-configured from a named agent definition. |
| 1306 | /// |
nothing calls this directly
no test coverage detected