MCPcopy Create free account
hub / github.com/easy-graph/Easy-Graph / __str__

Method __str__

easygraph/readwrite/graphml.py:501–507  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

499 self.add_graph_element(graph)
500
501 def __str__(self):
502 from xml.etree.ElementTree import tostring
503
504 if self.prettyprint:
505 self.indent(self.xml)
506 s = tostring(self.xml).decode(self.encoding)
507 return s
508
509 def attr_type(self, name, scope, value):
510 """Infer the attribute type of data named name. Currently this only

Callers 1

__str__Method · 0.45

Calls 1

indentMethod · 0.95

Tested by

no test coverage detected