MCPcopy Create free account
hub / github.com/InternRobotics/G2VLM / ProviderFunction

Class ProviderFunction

eval_code/recons/models/moge/utils/pipeline.py:209–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207
208
209class ProviderFunction(Provider):
210 def __init__(self, fn: Callable, running_as: 'thread', out_buffer_size: int = 1) -> None:
211 super().__init__(running_as, out_buffer_size)
212 self.fn = fn
213
214 def provide(self):
215 for item in self.fn():
216 yield item
217
218
219class Link:

Callers 3

__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected