
    gm                     &    d Z ddlZ G d de      Zy)z5An abstract class for caching the discovery document.    Nc                   p    e Zd ZdZej
                  Zej                  d        Zej                  d        Z	y)CachezA base abstract cache class.c                     t               )zGets 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urls     /var/www/html/FastMealFinder_FlaskServer-InitialRelease/venv/lib/python3.12/site-packages/googleapiclient/discovery_cache/base.pygetz	Cache.get   s     "##    c                     t               )zSets the given key and content in the cache.

        Args:
          url: string, the key for the cache.
          content: string, the discovery document.
        r   )r   r	   contents      r
   setz	Cache.set&   s     "##r   N)
__name__
__module____qualname____doc__abcABCMeta__metaclass__abstractmethodr   r    r   r
   r   r      s@    &KKM
$ 
$ 	$ $r   r   )r   r   objectr   r   r   r
   <module>r      s    < 
$F $r   