def set_app(self, app):
    with self._lock:
      self._app = app
Sets the PEP-333 app to use to serve requests.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/devappserver2/wsgi_server.py/_SingleAddressWsgiServer.set_app