MCPcopy Create free account
hub / github.com/DataArcTech/ToG / __init__

Method __init__

ToG/client.py:12–14  ·  view source on GitHub ↗
(self, url: str)

Source from the content-addressed store, hash-verified

10
11class WikidataQueryClient:
12 def __init__(self, url: str):
13 self.url = url
14 self.server = xmlrpc.client.ServerProxy(url)
15
16 def label2qid(self, label: str) -> str:
17 return self.server.label2qid(label)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected