MCPcopy
hub / github.com/dmlc/dgl / __init__

Method __init__

python/dgl/utils/internal.py:375–379  ·  view source on GitHub ↗
(self, *dict_like_list)

Source from the content-addressed store, hash-verified

373 """
374
375 def __init__(self, *dict_like_list):
376 self._dict_like_list = dict_like_list
377 self._keys = set()
378 for obj in dict_like_list:
379 self._keys.update(obj.keys())
380
381 def keys(self):
382 return self._keys

Callers

nothing calls this directly

Calls 2

updateMethod · 0.45
keysMethod · 0.45

Tested by

no test coverage detected