Skip to main content

add_shown_tasks

Function add_shown_tasks 

Source
async fn add_shown_tasks(
    reading: &Reading<'_>,
    conn: &mut PgConnection,
    ids: &[Uuid],
    exercises_by_id: &mut HashMap<Uuid, Value>,
) -> Result<(), ToolError>
Expand description

Adds to exercises_by_id the tasks the course site shows the caller before answering, with their instructions and public specs, for the exercises ids.