MCPcopy Index your code
hub / github.com/webpy/webpy / init_mapping

Method init_mapping

web/application.py:126–127  ·  view source on GitHub ↗
(self, mapping)

Source from the content-addressed store, hash-verified

124 utils.ThreadedDict.clear_all()
125
126 def init_mapping(self, mapping):
127 self.mapping = list(utils.group(mapping, 2))
128
129 def add_mapping(self, pattern, classname):
130 self.mapping.append((pattern, classname))

Callers 2

__init__Method · 0.95
reload_mappingMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected