MCPcopy
hub / github.com/benoitc/gunicorn / __init__

Method __init__

examples/multiapp.py:28–31  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26
27class Application:
28 def __init__(self):
29 self.map = Mapper()
30 self.map.connect('app1', '/app1url', app=app1)
31 self.map.connect('app2', '/app2url', app=app2)
32
33 def __call__(self, environ, start_response):
34 match = self.map.routematch(environ=environ)

Callers

nothing calls this directly

Calls 1

connectMethod · 0.45

Tested by

no test coverage detected