Skip to main content

get_dbt_resumable_for_script

Function get_dbt_resumable_for_script 

Source
pub async fn get_dbt_resumable_for_script(
    configuration: &Configuration,
    workspace: &str,
    path: &str,
) -> Result<Uuid, Error<GetDbtResumableForScriptError>>
Expand description

A retry requires dbt_retry_job, and the run form has no job id to hand. Returns the one the caller’s own retry would land on — the saved failure for the principal the run would execute as, which is the script’s author for an on_behalf_of script and the caller otherwise — and only when that run is one the caller may read. Null when there is nothing to resume, or nothing this caller may be told about.