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

Method get

hug/route.py:161–165  ·  view source on GitHub ↗

Builds a new GET HTTP route that is registered to this API

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

159 return Object(*args, **kwargs)
160
161 def get(self, *args, **kwargs):
162 """Builds a new GET HTTP route that is registered to this API"""
163 kwargs["api"] = self.api
164 kwargs["accept"] = ("GET",)
165 return http(*args, **kwargs)
166
167 def post(self, *args, **kwargs):
168 """Builds a new POST HTTP route that is registered to this API"""

Callers 15

top_postFunction · 0.45
authenticate_userFunction · 0.45
tests_happy_birthdayFunction · 0.45
tests_season_greetingsFunction · 0.45
process_requestMethod · 0.45
process_responseMethod · 0.45
callFunction · 0.45
input_formatMethod · 0.45
exception_handlersMethod · 0.45
add_exception_handlerMethod · 0.45
documentationMethod · 0.45
version_routerMethod · 0.45

Calls

no outgoing calls

Tested by 3

tests_happy_birthdayFunction · 0.36
tests_season_greetingsFunction · 0.36
callFunction · 0.36