
    LMh              
           d dl Z d dlmZ d dlmZ d dlmZ d dlmZ  e j	        e
          Zdddded	ee         d
ee         defdZdS )    N)Optional)registry)parse_notebook_handle)EXTRA_CONSOLE_BLOCKFforce_downloadhandlepathr   returnc                    t          |           }t                              d|                                 di t                     t          j        |||          \  }}|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 motebook output, even if it's cached.


    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   h_s        S/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/kagglehub/notebooks.pynotebook_output_downloadr      sb     	f%%A
KK@

@@@H_K^H_K```/4WWWGD!K    )N)loggingtypingr   	kagglehubr   kagglehub.handler   kagglehub.loggerr   	getLogger__name__r   strboolr    r   r   <module>r!      s                 2 2 2 2 2 2 0 0 0 0 0 0		8	$	$jo   S  YabfYg tw      r   