def _GenerateNonImplementedMethod(self, method):
    return lambda inst, rpc_controller, request, callback: (
        self._NonImplementedMethod(method.name, rpc_controller, callback))
Generates and returns a method that can be set for a service methods.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/net/proto2/python/public/service_reflection.py/_ServiceBuilder._GenerateNonImplementedMethod