Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/datapane/datapane
/ get_dom_str
Method
get_dom_str
python-client/src/datapane/view/view_blocks.py:67–69 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
65
return
builder.get_root()
66
67
def
get_dom_str(self) -> str:
68
dom = self.get_dom()
69
return
etree.tounicode(dom, pretty_print=True)
70
71
def
pprint(self) -> None:
72
from
.visitors
import
PrettyPrinter
Callers
1
test_markdown_format
Function · 0.80
Calls
1
get_dom
Method · 0.95
Tested by
1
test_markdown_format
Function · 0.64