MCPcopy Index your code
hub / github.com/apache/devlake / SubtaskContext

Method SubtaskContext

backend/helpers/e2ehelper/data_flow_tester.go:229–236  ·  view source on GitHub ↗

SubtaskContext creates a subtask context

(taskData interface{})

Source from the content-addressed store, hash-verified

227
228// SubtaskContext creates a subtask context
229func (t *DataFlowTester) SubtaskContext(taskData interface{}) plugin.SubTaskContext {
230 syncPolicy := &models.SyncPolicy{
231 TriggerSyncPolicy: models.TriggerSyncPolicy{
232 FullSync: true,
233 },
234 }
235 return contextimpl.NewStandaloneSubTaskContext(context.Background(), runner.CreateBasicRes(t.Cfg, t.Log, t.Db), t.Name, taskData, t.Name, syncPolicy)
236}
237
238func filterColumn(column dal.ColumnMeta, opts TableOptions) bool {
239 for _, ignore := range opts.IgnoreFields {

Callers 2

SubtaskMethod · 0.95
TestEpicDataflowFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestEpicDataflowFunction · 0.76