
    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_competition_handle)EXTRA_CONSOLE_BLOCKFforce_downloadhandlepathr   returnc                    t          |           }t                              d|                                 di t                     t          j        |||          \  }}|S )ae  Download competition dataset
    Args:
        handle: (string) the competition name
        path: (string) Optional path to a file within a competition dataset
        force_download: (bool) Optional flag to force download a competition dataset, even if it's cached
    Returns:
        A string requesting the path to the requested competition files.
    zDownloading competition: z ...)extrar   )r   loggerinfoto_urlr   r   competition_resolver)r	   r
   r   h_s        U/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/kagglehub/competition.pycompetition_downloadr      sb     	!((A
KK<AHHJJ<<<D[GZD[K\\\+AtNSSSGD!K    )N)loggingtypingr   	kagglehubr   kagglehub.handler   kagglehub.loggerr   	getLogger__name__r   strboolr    r   r   <module>r!      s                 5 5 5 5 5 5 0 0 0 0 0 0		8	$	$fk    HSM U]^bUc ps      r   