MCPcopy Create free account
hub / github.com/FlyingFeather/DEA-SQL / save_to_file

Method save_to_file

gen_sql.py:219–222  ·  view source on GitHub ↗
(self, json_data, file_name)

Source from the content-addressed store, hash-verified

217 return table_info, new_table_list, target_character, add_table_info, add_new_table_list
218
219 def save_to_file(self, json_data, file_name):
220 with open(file_name, "a+", encoding='utf-8') as f:
221 json.dump(json_data, f, ensure_ascii=False)
222 f.write("\n")
223
224 def step_get_ner_results(self, input_dict, mode):
225 """step 1: get ner"""

Callers 1

mainMethod · 0.95

Calls 1

dumpMethod · 0.80

Tested by

no test coverage detected