Add a compatibility layer to support both redis-py and nydus