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

Function get_dict_from_str

common/common.py:114–118  ·  view source on GitHub ↗
(content)

Source from the content-addressed store, hash-verified

112
113
114def get_dict_from_str(content):
115 content = content.replace("\n", " ")
116 content = content.replace(",", ",")
117 result = json.loads(content)
118 return result
119
120
121def load_or_save(filename):

Callers 3

get_features_by_llmMethod · 0.90
get_sql_by_llmMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected