parameters: (self, key, content)
docstring: Saves a value in the cache
  
          :param key:
              The key to save the cache with
  
          :param content:
              The (binary) content to cache
docstring_summary: Saves a value in the cache
docstring_tokens: Saves a value in the cache
function: def set(self, key, content):
          """
          Saves a value in the cache
  
          :param key:
              The key to save the cache with
  
          :param content:
              The (binary) content to cache
          """
  
          cache_file = os.path.join(self.base_path, key)
          with open_compat(cache_file, 'wb') as f:
              f.write(content)
function_tokens: def set ( self , key , content ) : cache_file = os . path . join ( self . base_path , key ) with open_compat ( cache_file , 'wb' ) as f : f . write ( content )