MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / dump

Method dump

examples/adjacency_list/adjacency_list.py:44–50  ·  view source on GitHub ↗
(self, _indent: int = 0)

Source from the content-addressed store, hash-verified

42 )
43
44 def dump(self, _indent: int = 0) -> str:
45 return (
46 " " * _indent
47 + repr(self)
48 + "\n"
49 + "".join([c.dump(_indent + 1) for c in self.children.values()])
50 )
51
52
53if __name__ == "__main__":

Callers 1

adjacency_list.pyFile · 0.45

Calls 2

joinMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected