MCPcopy Index your code
hub / github.com/hugapi/hug / _rewrite_params

Method _rewrite_params

hug/interface.py:345–348  ·  view source on GitHub ↗
(self, params)

Source from the content-addressed store, hash-verified

343 return doc
344
345 def _rewrite_params(self, params):
346 for interface_name, internal_name in self.map_params.items():
347 if interface_name in params:
348 params[internal_name] = params.pop(interface_name)
349
350 def _remap_entry(self, interface_name):
351 return self.map_params.get(interface_name, interface_name)

Callers 3

__call__Method · 0.80
__call__Method · 0.80
call_functionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected