MCPcopy Create free account
hub / github.com/EasyIME/PIME / fetch_json

Method fetch_json

python/python3/tornado/test/httpserver_test.py:82–85  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

80 return Application([("/", self.__class__.Handler)])
81
82 def fetch_json(self, *args, **kwargs):
83 response = self.fetch(*args, **kwargs)
84 response.rethrow()
85 return json_decode(response.body)
86
87
88class HelloWorldRequestHandler(RequestHandler):

Callers 4

test_ip_headersMethod · 0.45
test_scheme_headersMethod · 0.45
test_manual_protocolMethod · 0.45

Calls 3

json_decodeFunction · 0.90
rethrowMethod · 0.80
fetchMethod · 0.45

Tested by

no test coverage detected