def save(self, doc):
        if doc.id:
            return self.update(doc)
        else:
            return self.insert(doc)
def getter():
            return self._bucket_client.download_to_tmpfile(key)