MCPcopy Create free account
hub / github.com/OpenBMB/ToolBench / contain

Function contain

toolbench/inference/Downstream_tasks/rapidapi.py:45–51  ·  view source on GitHub ↗
(candidate_list, white_list)

Source from the content-addressed store, hash-verified

43 return white_list
44
45def contain(candidate_list, white_list):
46 output = []
47 for cand in candidate_list:
48 if cand not in white_list.keys():
49 return False
50 output.append(white_list[cand])
51 return output
52
53
54# rapidapi env wrapper

Callers 2

generate_task_listMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected