Skip to main content

get_dbt_run_graph

Function get_dbt_run_graph 

Source
pub async fn get_dbt_run_graph(
    configuration: &Configuration,
    workspace: &str,
    id: &str,
    asset_kinds: Option<&str>,
    folder: Option<&str>,
    dbt_script_hash: Option<&str>,
) -> Result<AssetGraph, Error<GetDbtRunGraphError>>
Expand description

The workspace asset graph with its dbt half pinned to what a single run built. Only a dynamic descriptor (a {{ }} placeholder in vars) leaves a per-run snapshot; without one for this job the pinned version’s own graph answers, so a run page may use this route unconditionally. Authorized through the job, the same gate as run_progress — pinning to a run is job-scoped, which is why assets/graph cannot do it.