MCPcopy Create free account
hub / github.com/apple/foundationdb / request

Method request

tests/authorization/admin_server.py:125–137  ·  view source on GitHub ↗
(self, op, args=[])

Source from the content-addressed store, hash-verified

123 self.join()
124
125 def request(self, op, args=[]):
126 req = _admin_request(op, args)
127 try:
128 self._main_pipe.send(req)
129 resp = self._main_pipe.recv()
130 if resp != True:
131 print("{} failed: {}".format(req, resp))
132 raise resp
133 else:
134 print("{} succeeded".format(req))
135 except Exception as e:
136 print("{} failed by exception: {}".format(req, e))
137 raise

Callers 3

clusterFunction · 0.80
dbFunction · 0.80
fnFunction · 0.80

Calls 4

_admin_requestClass · 0.85
printFunction · 0.50
sendMethod · 0.45
formatMethod · 0.45

Tested by 3

clusterFunction · 0.64
dbFunction · 0.64
fnFunction · 0.64