MCPcopy Create free account
hub / github.com/BaseXdb/basex / __exc

Method __exc

basex-api/src/main/python/BaseXClient/BaseXClient.py:305–313  ·  view source on GitHub ↗

internal. don't care.

(self, cmd, arg)

Source from the content-addressed store, hash-verified

303 self.__exc(chr(2), self.__id)
304
305 def __exc(self, cmd, arg):
306 """internal. don't care."""
307 # should we expose this?
308 # (this makes sense only when mismatch between C/S is existing.)
309 self.__session.send(cmd + arg)
310 result = self.__session.receive()
311 if not self.__session.server_response_success():
312 raise IOError(self.__session.recv_c_str())
313 return result

Callers 9

__init__Method · 0.95
bindMethod · 0.95
contextMethod · 0.95
executeMethod · 0.95
infoMethod · 0.95
optionsMethod · 0.95
updatingMethod · 0.95
fullMethod · 0.95
closeMethod · 0.95

Calls 4

recv_c_strMethod · 0.80
sendMethod · 0.45
receiveMethod · 0.45

Tested by

no test coverage detected