MCPcopy Index your code
hub / github.com/flet-dev/flet / save_data

Function save_data

sdk/python/examples/community/mind_queue/main.py:19–21  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

17
18
19def save_data(data):
20 with DATA_FILE.open("w", encoding="utf-8") as f:
21 json.dump(data, f, indent=4)
22
23
24def main(page: ft.Page):

Callers 9

clone_systemFunction · 0.85
delete_systemFunction · 0.85
on_addFunction · 0.85
on_saveFunction · 0.85
clone_taskFunction · 0.85
toggle_taskFunction · 0.85
delete_taskFunction · 0.85
move_taskFunction · 0.85
delete_headerFunction · 0.85

Calls 1

openMethod · 0.80

Tested by

no test coverage detected