def ReplaceStub(self, service, stub):
    self.__stub_map[service] = stub







    if service == 'datastore':
      self.RegisterStub('datastore_v3', stub)
Replace the existing stub for the specified service with a new one.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/apiproxy_stub_map.py/APIProxyStubMap.ReplaceStub