Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AkaliKong/MiniOneRec
/ write_json_file
Function
write_json_file
data/amazon23_data_process.py:26–28 ·
view source on GitHub ↗
(data, file_path)
Source
from the content-addressed store, hash-verified
24
25
26
def
write_json_file(data, file_path):
27
with
open(file_path,
"w"
)
as
f:
28
json.dump(data, f, indent=2)
29
30
31
def
write_remap_index(index_map, file_path):
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected