Did I find the right examples for you? yes no

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

src/s/h/shove-0.5.6/shove/stores/s3.py   shove(Download)
    def __setitem__(self, key, value):
        rkey = Key(self._store)
        rkey.key = key
        # flag that the store has been updated

src/s/h/shove-0.5.6/shove/stores/ftp.py   shove(Download)
    def __setitem__(self, key, value):
        local = StringIO(self.dumps(value))
        self._store.storbinary('STOR %s' % key, local)
        self._updated = True

src/s/h/shove-0.5.6/shove/stores/db.py   shove(Download)
    def __setitem__(self, k, v):
        v, store = self.dumps(v), self._store
        # update database if key already present
        if k in self:
            store.update(store.c.key == k).execute(value=v)