MCPcopy Create free account
hub / github.com/BIT-DataLab/LakeBench / __init__

Method __init__

union/Santos/preprocess_yago.py:64–66  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

62class Hierarchy:
63 # class Constructor
64 def __init__(self):
65 #define dictionary of list. This will store the hierarchy
66 self.hierarchy = defaultdict(list)
67
68 def addEdge(self,u,v):
69 self.hierarchy[u].append(v)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected