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

Method _create_interface

hug/routing.py:439–441  ·  view source on GitHub ↗
(self, api, api_function, catch_exceptions=False)

Source from the content-addressed store, hash-verified

437 return callable_method
438
439 def _create_interface(self, api, api_function, catch_exceptions=False):
440 interface = hug.interface.ExceptionRaised(self.route, api_function, catch_exceptions)
441 return (interface, api_function)
442
443
444class URLRouter(HTTPRouter):

Callers 1

__call__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected