(tasks: serde_json::Value)
| 5870 | } |
| 5871 | |
| 5872 | fn parallel_task_args(tasks: serde_json::Value) -> PyResult<serde_json::Value> { |
| 5873 | if !tasks.is_array() { |
| 5874 | return Err(PyValueError::new_err( |
| 5875 | "tasks must be a list of dictionaries", |
| 5876 | )); |
| 5877 | } |
| 5878 | Ok(serde_json::json!({ "tasks": tasks })) |
| 5879 | } |
| 5880 | |
| 5881 | /// Build RustSessionOptions from PySessionOptions. |
| 5882 | fn build_rust_session_options(so: PySessionOptions) -> PyResult<RustSessionOptions> { |
no outgoing calls