MCPcopy Create free account
hub / github.com/datapane/datapane / accept

Method accept

python-client/src/datapane/blocks/base.py:83–85  ·  view source on GitHub ↗
(self, visitor: VV)

Source from the content-addressed store, hash-verified

81 display(self.__str__())
82
83 def accept(self, visitor: VV) -> VV:
84 visitor.visit(self)
85 return visitor
86
87 def __str__(self) -> str:
88 return f"<{self._tag} attribs={self._attributes}>"

Callers 5

get_domMethod · 0.80
pprintMethod · 0.80
traverseMethod · 0.80
__call__Method · 0.80
convert_xmlMethod · 0.80

Calls 1

visitMethod · 0.45

Tested by

no test coverage detected