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

Method delete

backend/python/pydevlake/pydevlake/subtasks.py:162–165  ·  view source on GitHub ↗
(self, session, ctx)

Source from the content-addressed store, hash-verified

160 session.add(raw_model)
161
162 def delete(self, session, ctx):
163 raw_model = self.stream.raw_model(session)
164 stmt = sql.delete(raw_model).where(raw_model.params == self._params(ctx))
165 session.execute(stmt)
166
167
168class SubstreamCollector(Collector):

Callers

nothing calls this directly

Calls 4

raw_modelMethod · 0.80
_paramsMethod · 0.80
executeMethod · 0.80
deleteMethod · 0.45

Tested by

no test coverage detected