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

Method __init__

python/graphvite/util.py:135–137  ·  view source on GitHub ↗
(self, name_style="class")

Source from the content-addressed store, hash-verified

133 """
134
135 def __init__(self, name_style="class"):
136 assert name_style in ["full", "class", "func"]
137 self.name_style = name_style
138
139 def get_name(self, function, instance):
140 is_method = function.__code__.co_argcount > 0 and function.__code__.co_varnames[0] == "self"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected