pub async fn datasets_create_version_by_id(
        &self,
        id: i32,
        dataset_req: &DatasetNewVersionRequest,
    ) -> anyhow::Result<DatasetNewVersionResponse> {
        Ok(self
            .post_json(
                self.join_url(format!("datasets/create/version/{}", id))?,
                Some(dataset_req),
            )
            .await?)
    }
/// Create a new dataset version by id
Create a new dataset version by id
Create a new dataset version by id
pub async fn datasets_create_version_by_id(
        &self,
        id: i32,
        dataset_req: &DatasetNewVersionRequest,
    ) -> anyhow::Result<DatasetNewVersionResponse> {
        Ok(self
            .post_json(
                self.join_url(format!("datasets/create/version/{}", id))?,
                Some(dataset_req),
            )
            .await?)
    }
pub async fn datasets_create_version_by_id ( & self , id : i32 , dataset_req : & DatasetNewVersionRequest , ) -> anyhow :: Result < DatasetNewVersionResponse > { Ok ( self . post_json ( self . join_url ( format ! ( " " id ) ) ? , Some ( dataset_req ) , ) . await ? ) }
Create a new dataset version by id
Create a new dataset version by id
&self
id
i32
dataset_req
&DatasetNewVersionRequest
&self
id
i32
dataset_req
&DatasetNewVersionRequest