o
    ~j6hm  ã                   @   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   ó   t ƒ ‚)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.
        ©ÚNotImplementedError)ÚselfÚurl© r   ús/var/www/html/chefvision.cloud.itp360.com/venv/lib/python3.10/site-packages/googleapiclient/discovery_cache/base.pyÚget   s   z	Cache.getc                 C   r   )z¥Sets the given key and content in the cache.

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