MCPcopy Create free account
hub / github.com/apache/devlake / fetch

Method fetch

backend/python/pydevlake/pydevlake/subtasks.py:169–173  ·  view source on GitHub ↗
(self, state: Dict, session, ctx: Context)

Source from the content-addressed store, hash-verified

167
168class SubstreamCollector(Collector):
169 def fetch(self, state: Dict, session, ctx: Context):
170 parent_model = self.stream.parent_stream.tool_model
171 query = session.query(parent_model).where(parent_model.raw_data_params == self._params(ctx))
172 for parent in query.all():
173 yield from self.stream.collect(state, ctx, parent)
174
175
176class Extractor(Subtask):

Callers

nothing calls this directly

Calls 2

_paramsMethod · 0.80
collectMethod · 0.45

Tested by

no test coverage detected