Skip to content

Use api.models.Metadata #2950

@wslulciuc

Description

@wslulciuc

In #2853, we introduced api.models.Metadata, a utility class for OpenLineage.RunEvent, OpenLineage.JobEvent, and OpenLineage.DatasetEvent. Let's now use the class on the event write path POST /api/v1/lineage to allow for:

  • Event validation (returning 400 on invalid events)
  • Seamlessly access OpenLineage metadata: runID, job, datasets, facets, etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions