MCPcopy
hub / github.com/apache/devlake / ApiExtractor

Struct ApiExtractor

backend/helpers/pluginhelper/api/api_extractor.go:42–45  ·  view source on GitHub ↗

ApiExtractor helps you extract Raw Data from api responses to Tool Layer Data It reads rows from specified raw data table, and feed it into `Extract` handler you can return arbitrary tool layer entities in this handler, ApiExtractor would first delete old data by their RawDataOrigin information, and

Source from the content-addressed store, hash-verified

40// first delete old data by their RawDataOrigin information, and then perform a
41// batch save for you.
42type ApiExtractor struct {
43 *RawDataSubTask
44 args *ApiExtractorArgs
45}
46
47// NewApiExtractor creates a new ApiExtractor, TODO: replaced with NewStatefulApiExtractor
48func NewApiExtractor(args ApiExtractorArgs) (*ApiExtractor, errors.Error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected