pub async fn kernel_output(&self, name: impl AsRef<str>) -> anyhow::Result<KernelOutput> {
        let (owner_slug, kernel_slug) = self.get_user_and_identifier_slug(name.as_ref())?;

        if kernel_slug.len() < 5 {
            return Err(KaggleError::meta(format!(
                "Kernel slug `{}` must be at least five characters.",
                kernel_slug
            ))
            .into());
        }

        Ok(self
            .get_json(self.join_url(format!(
                "kernels/output?userName={}&kernelSlug={}",
                owner_slug, kernel_slug
            ))?)
            .await?)
    }
/// RDownload the latest output from a kernel
RDownload the latest output from a kernel
RDownload the latest output from a kernel
pub async fn kernel_output(&self, name: impl AsRef<str>) -> anyhow::Result<KernelOutput> {
        let (owner_slug, kernel_slug) = self.get_user_and_identifier_slug(name.as_ref())?;
        if kernel_slug.len() < 5 {
            return Err(KaggleError::meta(format!(
                "Kernel slug `{}` must be at least five characters.",
                kernel_slug
            ))
            .into());
        }
        Ok(self
            .get_json(self.join_url(format!(
                "kernels/output?userName={}&kernelSlug={}",
                owner_slug, kernel_slug
            ))?)
            .await?)
    }
pub async fn kernel_output ( & self , name : impl AsRef < str > ) -> anyhow :: Result < KernelOutput > { let ( owner_slug , kernel_slug ) = self . get_user_and_identifier_slug ( name . as_ref ( ) ) ? ; if kernel_slug . len ( ) < 5 { return Err ( KaggleError :: meta ( format ! ( " " kernel_slug ) ) . into ( ) ) ; } Ok ( self . get_json ( self . join_url ( format ! ( " " owner_slug kernel_slug ) ) ? ) . await ? ) }
RDownload the latest output from a kernel
RDownload the latest output from a kernel
&self
name
impl AsRef<str>
&self
name
impl AsRef<str>