restore couchbaseclient.py