Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Optionally serializes and compresses object `value`.

src/s/h/shove-0.5.6/shove/stores/mongodb.py   shove(Download)
    def __setitem__(self, key, value):
        self._store.save(dict(key=key, value=Binary(self.dumps(value))))
 
    def __delitem__(self, key):
        self._store.remove(dict(key=key))

src/s/h/shove-0.5.6/shove/stores/cassandra.py   shove(Download)
    def __setitem__(self, key, value):
        self._store.insert(key, dict(key=self.dumps(value)))
 
    def __delitem__(self, key):
        # beware eventual consistency