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

Method not_found

hug/route.py:131–134  ·  view source on GitHub ↗

Defines the handler that should handle not found requests against this API

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

129 return self.http(*args, **kwargs)
130
131 def not_found(self, *args, **kwargs):
132 """Defines the handler that should handle not found requests against this API"""
133 kwargs["api"] = self.api
134 return not_found(*args, **kwargs)
135
136 def static(self, *args, **kwargs):
137 """Define the routes to static files the API should expose"""

Callers 4

test_not_foundMethod · 0.45
test_not_foundFunction · 0.45
read_fileMethod · 0.45
__call__Method · 0.45

Calls 1

not_foundFunction · 0.70

Tested by 2

test_not_foundMethod · 0.36
test_not_foundFunction · 0.36