MCPcopy Create free account
hub / github.com/DeepGraphLearning/graphvite / __getattr__

Method __getattr__

python/graphvite/dataset.py:218–223  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

216 return set(glob.glob(os.path.join(self.path, "*")))
217
218 def __getattr__(self, key):
219 if key in self.__dict__:
220 return self.__dict__[key]
221 if key in self.urls:
222 return self.get_file(key)
223 raise AttributeError("Can't resolve split `%s`" % key)
224
225 def csv2txt(self, csv_file, txt_file):
226 """

Callers

nothing calls this directly

Calls 1

get_fileMethod · 0.95

Tested by

no test coverage detected