MCPcopy Create free account
hub / github.com/C3ting/ARL / result_to_dict

Method result_to_dict

app/tasks/github.py:37–42  ·  view source on GitHub ↗
(self, result)

Source from the content-addressed store, hash-verified

35 utils.conn_db("github_result").insert_one(item)
36
37 def result_to_dict(self, result):
38 item = result.to_dict()
39 item["human_content"] = result.human_content(self.keyword)
40 item["keyword"] = self.keyword
41 item["github_task_id"] = self.task_id
42 return item
43
44 def filter_result(self, result: GithubResult):
45 path_keyword_list = ["open-app-filter/", "/adbyby",

Callers 2

save_contentMethod · 0.95
save_mongoMethod · 0.80

Calls 2

to_dictMethod · 0.45
human_contentMethod · 0.45

Tested by

no test coverage detected