MCPcopy Index your code
hub / github.com/googleapis/google-api-python-client / Callbacks

Class Callbacks

tests/test_http.py:911–918  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

909
910
911class Callbacks(object):
912 def __init__(self):
913 self.responses = {}
914 self.exceptions = {}
915
916 def f(self, request_id, response, exception):
917 self.responses[request_id] = response
918 self.exceptions[request_id] = exception
919
920
921class TestHttpRequest(unittest.TestCase):

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…