MCPcopy Index your code
hub / github.com/AI45Lab/Code / parallel_task_args

Function parallel_task_args

sdk/python/src/lib.rs:5872–5879  ·  view source on GitHub ↗
(tasks: serde_json::Value)

Source from the content-addressed store, hash-verified

5870}
5871
5872fn 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.
5882fn build_rust_session_options(so: PySessionOptions) -> PyResult<RustSessionOptions> {

Callers 2

tasksMethod · 0.85

Calls

no outgoing calls