MCPcopy Create free account
hub / github.com/datapane/datapane / run

Method run

python-client/src/datapane/_vendor/bottle.py:3390–3399  ·  view source on GitHub ↗
(self, handler)

Source from the content-addressed store, hash-verified

3388 quiet = True
3389
3390 def run(self, handler):
3391 depr(0, 13, "AppEngineServer no longer required",
3392 "Configure your application directly in your app.yaml")
3393 from google.appengine.ext.webapp import util
3394 # A main() function in the handler script enables 'App Caching'.
3395 # Lets makes sure it is there. This _really_ improves performance.
3396 module = sys.modules.get('__main__')
3397 if module and not hasattr(module, 'main'):
3398 module.main = lambda: util.run_wsgi_app(handler)
3399 util.run_wsgi_app(handler)
3400
3401
3402class TwistedServer(ServerAdapter):

Callers

nothing calls this directly

Calls 2

deprFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected