open-lineage-client
Version:
TypeScript/JavaScript client for creating and sending OpenLineage standard events.
17 lines • 554 B
JavaScript
import { BaseEvent } from './BaseEvent.js';
import { removeEmptyFields } from '../utils/utils.js';
/**
* Represents a RunEvent.
*/
export class RunEvent extends BaseEvent {
constructor(eventTime, producer, schemaURL, eventType, run, job, inputs, outputs) {
super(eventTime, producer, schemaURL);
this.eventType = eventType;
this.run = run;
this.job = job;
this.inputs = inputs;
this.outputs = outputs;
Object.assign(this, removeEmptyFields(this));
}
}
//# sourceMappingURL=RunEvent.js.map