MCPcopy Create free account
hub / github.com/BIT-DataLab/LakeBench / read_list_from_file

Function read_list_from_file

union/TUS/Usem.py:34–37  ·  view source on GitHub ↗
(file_path)

Source from the content-addressed store, hash-verified

32 file.write(str(item) + '\n')
33
34def read_list_from_file(file_path):
35 with open(file_path, 'r') as file:
36 content = file.readlines()
37 return [ast.literal_eval(line.strip()) for line in content]
38
39
40def match_entity_from_yago():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected