MCPcopy Create free account
hub / github.com/bruno686/VisPlay / fetch

Function fetch

train_examples/reward_function/validation.py:130–133  ·  view source on GitHub ↗
(index,i)

Source from the content-addressed store, hash-verified

128 return [lst[i*k + min(i, m):(i+1)*k + min(i+1, m)] for i in range(n)]
129
130def fetch(index,i):
131 response = requests.get(f"http://0.0.0.0:{6000+index}/hello?name={i}")
132 print(response)
133 return True
134
135def generate_results(data):
136 datas = split_list(data,4)

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected