def _load(self, data):
        name = data.pop('name')
        version = data.pop('version')
        filename = data.pop('filename')
        last_modified = datetime.fromtimestamp(
            float(data.pop('last_modified')))
        kwargs = dict(((k, json.loads(v)) for k, v in data.iteritems()))
        return self.package_class(name, version, filename, last_modified,
                                  **kwargs)
Load a Package class from redis data
dataset/ETHPy150Open mathcamp/pypicloud/pypicloud/cache/redis_cache.py/RedisCache._load