U
    $FZhm  ã                   @   s    d Z ddlZG dd„ deƒZdS )z5An abstract class for caching the discovery document.é    Nc                   @   s2   e Zd ZdZejZejdd„ ƒZejdd„ ƒZ	dS )ÚCachezA base abstract cache class.c                 C   s
   t ƒ ‚dS )zúGets the content from the memcache with a given key.

        Args:
          url: string, the key for the cache.

        Returns:
          object, the value in the cache for the given key, or None if the key is
          not in the cache.
        N©ÚNotImplementedError)ÚselfÚurl© r   úk/home/aprabhat/apps/x.techxrdev.in/venv/lib/python3.8/site-packages/googleapiclient/discovery_cache/base.pyÚget   s    z	Cache.getc                 C   s
   t ƒ ‚dS )z¥Sets the given key and content in the cache.

        Args:
          url: string, the key for the cache.
          content: string, the discovery document.
        Nr   )r   r   Úcontentr   r   r   Úset&   s    z	Cache.setN)
Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚabcÚABCMetaZ__metaclass__Úabstractmethodr	   r   r   r   r   r   r      s   
r   )r   r   Úobjectr   r   r   r   r   Ú<module>   s   