Skip to main content

pause_dag

Function pause_dag 

Source
pub async fn pause_dag(
    __arg0: State<ApiState>,
    __arg1: Path<String>,
    __arg2: Extension<User>,
    key: RequestKey,
    body: Bytes,
) -> Result<(StatusCode, Json<CommandView>), ApiError>
Expand description

Pause a DAG: the scheduler creates no runs of it (optionally cancelling those in progress). Applied by the master; poll the command for the decision.