pub async fn last_run(
        &self,
        project_key: &str,
        workflow_name: &str,
    ) -> Result<models::WorkflowRun> {
        let body: Vec<u8> = vec![];
        self.stream_json(
            "GET".to_string(),
            format!(
                "/project/{}/workflows/{}/runs/latest",
                project_key, workflow_name
            ),
            body,
        )
        .await
    }
/// Get last workflow run given their workflow name
Get last workflow run given their workflow name
Get last workflow run given their workflow name
pub async fn last_run(
        &self,
        project_key: &str,
        workflow_name: &str,
    ) -> Result<models::WorkflowRun> {
        let body: Vec<u8> = vec![];
        self.stream_json(
            "GET".to_string(),
            format!(
                "/project/{}/workflows/{}/runs/latest",
                project_key, workflow_name
            ),
            body,
        )
        .await
    }
pub async fn last_run ( & self , project_key : & str , workflow_name : & str , ) -> Result < models :: WorkflowRun > { let body : Vec < u8 > = vec ! [ ] ; self . stream_json ( " " . to_string ( ) , format ! ( " " project_key workflow_name ) , body , ) . await }
Get last workflow run given their workflow name
Get last workflow run given their workflow name
&self
project_key
&str
workflow_name
&str
&self
project_key
&str
workflow_name
&str