MCPcopy
hub / github.com/Kanaries/pygwalker / register

Method register

pygwalker/communications/base.py:50–51  ·  view source on GitHub ↗
(self, endpoint: str, func: Callable[[Dict[str, Any]], Any])

Source from the content-addressed store, hash-verified

48 return {"code": ErrorCode.UNKNOWN_ERROR, "data": data, "message": str(e)}
49
50 def register(self, endpoint: str, func: Callable[[Dict[str, Any]], Any]):
51 self._endpoint_map[endpoint] = func

Callers 3

_init_callbackMethod · 0.80
field_metasMethod · 0.80
get_datas_by_sqlMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected