Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_app
Method · 0.95
get_app
Method · 0.95
Calls
1
update
Method · 0.45
Tested by
no test coverage detected