o
    ̳i                     @   sp   d dl Z d dlmZ d dlmZ d dlmZ e eZ		ddddde
de
dB d	edB d
e
dB de
f
ddZdS )    N)registry)parse_notebook_handle)EXTRA_CONSOLE_BLOCKFforce_download
output_dirhandlepathr   r   returnc                C   s@   t | }tjd|  di td tj||||d\}}|S )a  Download notebook output files.

    Args:
        handle: (string) the notebook handle under https://kaggle.com/code.
        path: (string) Optional path to a file within the notebook output.
        force_download: (bool) Optional flag to force download a notebook output, even if it's cached or already in
            output_dir.
        output_dir: (string) Optional output directory for direct download, bypassing the default cache.


    Returns:
        A string representing the path to the requested notebook output files.
    zDownloading Notebook Output: z ...)extrar   )r   loggerinfoto_urlr   r   notebook_output_resolver)r   r	   r   r   h_ r   G/home/ubuntu/.local/lib/python3.10/site-packages/kagglehub/notebooks.pynotebook_output_download
   s   
r   )N)logging	kagglehubr   kagglehub.handler   kagglehub.loggerr   	getLogger__name__r   strboolr   r   r   r   r   <module>   s(    
