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

Function find_all_names

python/graphvite/helper.py:36–42  ·  view source on GitHub ↗
(module)

Source from the content-addressed store, hash-verified

34
35
36def find_all_names(module):
37 pattern = re.compile("[^_]+")
38 names = []
39 for name in module.__dict__:
40 if pattern.match(name):
41 names.append(name)
42 return names
43
44
45def find_all_templates(module):

Callers 1

optimizer.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected