MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / run

Method run

21-async/mojifinder/bottle.py:2753–2758  ·  view source on GitHub ↗
(self, handler)

Source from the content-addressed store, hash-verified

2751class CGIServer(ServerAdapter):
2752 quiet = True
2753 def run(self, handler): # pragma: no cover
2754 from wsgiref.handlers import CGIHandler
2755 def fixed_environ(environ, start_response):
2756 environ.setdefault('PATH_INFO', '')
2757 return handler(environ, start_response)
2758 CGIHandler().run(fixed_environ)
2759
2760
2761class FlupFCGIServer(ServerAdapter):

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected