parameters: (
          self,
          link,            # type: Link
          package_name,    # type: Optional[str]
          supported_tags,  # type: List[Tag]
      )
return_statement: return None
docstring: Returns a CacheEntry with a link to a cached item if it exists or
          None. The cache entry indicates if the item was found in the persistent
          or ephemeral cache.
docstring_summary: Returns a CacheEntry with a link to a cached item if it exists or
          None. The cache entry indicates if the item was found in the persistent
          or ephemeral cache.
docstring_tokens: Returns a CacheEntry with a link to a cached item if it exists or None . The cache entry indicates if the item was found in the persistent or ephemeral cache .
function: def get_cache_entry(
          self,
          link,            # type: Link
          package_name,    # type: Optional[str]
          supported_tags,  # type: List[Tag]
      ):
          # type: (...) -> Optional[CacheEntry]
          """Returns a CacheEntry with a link to a cached item if it exists or
          None. The cache entry indicates if the item was found in the persistent
          or ephemeral cache.
          """
          retval = self._wheel_cache.get(
              link=link,
              package_name=package_name,
              supported_tags=supported_tags,
          )
          if retval is not link:
              return CacheEntry(retval, persistent=True)
  
          retval = self._ephem_cache.get(
              link=link,
              package_name=package_name,
              supported_tags=supported_tags,
          )
          if retval is not link:
              return CacheEntry(retval, persistent=False)
  
          return None
function_tokens: def get_cache_entry ( self , link , # type: Link package_name , # type: Optional[str] supported_tags , # type: List[Tag] ) : # type: (...) -> Optional[CacheEntry] retval = self . _wheel_cache . get ( link = link , package_name = package_name , supported_tags = supported_tags , ) if retval is not link : return CacheEntry ( retval , persistent = True ) retval = self . _ephem_cache . get ( link = link , package_name = package_name , supported_tags = supported_tags , ) if retval is not link : return CacheEntry ( retval , persistent = False ) return None