def METHOD_NAME(self, new_db):
    params = executor_pb2.DefaultDBContext(context=self._context, new_db=new_db)
    resp = self.stub.ChangeDefaultDB(params)
    if resp.error_message != "":
        raise Exception(resp.error_message)
    self._update_attrs(resp)