(self, key, file)
Implementation of :meth:`~simplekv.KeyValueStore.put_file`.

        Will store the value in the backing store. After a successful or
        unsuccessful store, the cache will be invalidated by deleting the key
        from it.
Implementation of :meth:`~simplekv.KeyValueStore.put_file`.
Implementation of : meth : ~simplekv . KeyValueStore . put_file .
def put_file(self, key, file):
        """Implementation of :meth:`~simplekv.KeyValueStore.put_file`.

        Will store the value in the backing store. After a successful or
        unsuccessful store, the cache will be invalidated by deleting the key
        from it.
        """
        try:
            return self._dstore.put_file(key, file)
        finally:
            self.cache.delete(key)
def put_file ( self , key , file ) : try : return self . _dstore . put_file ( key , file ) finally : self . cache . delete ( key )