MCPcopy 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

DPTextIOWrapperClass · 0.85
get_rootMethod · 0.80
renderMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected