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

Method get_all_relations_of_an_entity

ToG/client.py:28–31  ·  view source on GitHub ↗
(
        self, entity_qid: str
    )

Source from the content-addressed store, hash-verified

26 return self.server.qid2label(qid)
27
28 def get_all_relations_of_an_entity(
29 self, entity_qid: str
30 ) -> tp.Dict[str, tp.List]:
31 return self.server.get_all_relations_of_an_entity(entity_qid)
32
33 def get_tail_entities_given_head_and_relation(
34 self, head_qid: str, relation_pid: str

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected