MCPcopy Create free account
hub / github.com/EasyIME/PIME / add_routes

Method add_routes

python/python3/tornado/test/routing_test.py:121–122  ·  view source on GitHub ↗
(self, routes)

Source from the content-addressed store, hash-verified

119 self.routes = {} # type: typing.Dict[str, typing.Any]
120
121 def add_routes(self, routes):
122 self.routes.update(routes)
123
124 def find_handler(self, request, **kwargs):
125 if request.path in self.routes:

Callers 2

get_appMethod · 0.95
get_appMethod · 0.95

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected