MCPcopy
hub / github.com/hugapi/hug / map_params

Method map_params

hug/routing.py:109–111  ·  view source on GitHub ↗

Map interface specific params to an internal name representation

(self, **map_params)

Source from the content-addressed store, hash-verified

107 )
108
109 def map_params(self, **map_params):
110 """Map interface specific params to an internal name representation"""
111 return self.where(map_params=map_params)
112
113 def where(self, **overrides):
114 """Creates a new route, based on the current route, with the specified overrided values"""

Callers 1

test_map_paramsMethod · 0.80

Calls 1

whereMethod · 0.95

Tested by 1

test_map_paramsMethod · 0.64