MCPcopy Create free account
hub / github.com/BabitMF/bmf / fetch

Method fetch

bmf/python_sdk/module_functor.py:56–65  ·  view source on GitHub ↗

(self, idx)

Source from the content-addressed store, hash-verified

54 return self
55
56 def fetch(self, idx):
57 """
58 """
59 outputs = []
60 for pkt in self.impl.fetch(idx):
61 if self.otypes[idx] is None:
62 outputs.append(pkt)
63 else:
64 outputs.append(pkt.get(self.otypes[idx]))
65 return outputs
66
67
68def make_sync_func(name: str,

Callers 1

Calls 1

getMethod · 0.45

Tested by 1