§
    :?Äj	  ã                   óì   — d Z ddlmZ ddlZddlZ ej        e¦  «        ZdZej	         
                    ej	                             ej	                             e¦  «        ¦  «        d¦  «        Zd„ Zd„ ZdS )z+Caching utility for the discovery document.é    )Úabsolute_importNi€Q Ú	documentsc                  óÐ   — dt           j        v r	 ddlm}  | j        S # t
          $ r Y nw xY w	 ddlm} |j        S # t
          $ r  t                               dd¬¦  «         Y dS w xY w)	zÎDetects an appropriate cache module and returns it.

    Returns:
      googleapiclient.discovery_cache.base.Cache, a cache object which
      is auto detected, or None if no cache object is available.
    ÚGAE_ENVé   )Úappengine_memcache)Ú
file_cachez4file_cache is only supported with oauth2client<4.0.0F)Úexc_infoN)	ÚosÚenvironÚ r   ÚcacheÚ	Exceptionr	   ÚLOGGERÚinfo)r   r	   s     úYC:\Projects\Historical\venv\Lib\site-packages\googleapiclient/discovery_cache/__init__.pyÚ
autodetectr      sµ   € ð •B”JÐÐð	Ø,Ð,Ð,Ð,Ð,Ð,à%Ô+Ð+øÝð 	ð 	ð 	ØˆDð	øøøðØ Ð Ð Ð Ð Ð àÔÐøÝð ð ð Ý�ŠØBÈUð 	ñ 	
ô 	
ð 	
ð ˆtˆtð	øøøs   � �
*©*®; »&A%Á$A%c                 ó  — d}d                      | |¦  «        }	 t          t          j                             t
          |¦  «        d¦  «        5 }|                     ¦   «         }ddd¦  «         n# 1 swxY w Y   n# t          $ r Y nw xY w|S )až  Retrieves the discovery document from the directory defined in
    DISCOVERY_DOC_DIR corresponding to the serviceName and version provided.

    Args:
        serviceName: string, name of the service.
        version: string, the version of the service.

    Returns:
        A string containing the contents of the JSON discovery document,
        otherwise None if the JSON discovery document was not found.
    Nz
{}.{}.jsonÚr)ÚformatÚopenr   ÚpathÚjoinÚDISCOVERY_DOC_DIRÚreadÚFileNotFoundError)ÚserviceNameÚversionÚcontentÚdoc_nameÚfs        r   Úget_static_docr"   7   sË   € ð €GØ×"Ò" ;°Ñ8Ô8€HðÝ•"”'—,’,Õ0°(Ñ;Ô;¸SÑAÔAð 	ÀQØ—f’f‘h”hˆGð	ð 	ð 	ñ 	ô 	ð 	ð 	ð 	ð 	ð 	ð 	øøøð 	ð 	ð 	ð 	øøåð ð ð àˆðøøøð €Ns5   š3A: ÁA.Á"A: Á.A2Á2A: Á5A2Á6A: Á:
BÂB)Ú__doc__Ú
__future__r   Úloggingr   Ú	getLoggerÚ__name__r   ÚDISCOVERY_DOC_MAX_AGEr   r   ÚdirnameÚrealpathÚ__file__r   r   r"   © ó    r   ú<module>r.      sª   ðð 2Ð 1à &Ð &Ð &Ð &Ð &Ð &à €€€Ø 	€	€	€	à	ˆÔ	˜8Ñ	$Ô	$€à$Ð Ø”G—L’LØ„G‡O‚O�B”G×$Ò$ XÑ.Ô.Ñ/Ô/°ñô Ð ð
ð ð ð2ð ð ð ð r-   