Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/datapane/datapane
/ write_file
Method
write_file
python-client/src/datapane/view/asset_writers.py:121–122 ·
view source on GitHub ↗
(self, x: SchemaBase, f)
Source
from the content-addressed store, hash-verified
119
120
@multimethod
121
def
write_file(self, x: SchemaBase, f) -> None:
122
json.dump(x.to_dict(), DPTextIOWrapper(f))
123
124
if
opt.HAVE_FOLIUM:
125
Callers
nothing calls this directly
Calls
4
DPTextIOWrapper
Class · 0.85
get_root
Method · 0.80
render
Method · 0.45
write
Method · 0.45
Tested by
no test coverage detected