marquez icon indicating copy to clipboard operation
marquez copied to clipboard

Add `nodeId` to API models

Open wslulciuc opened this issue 5 years ago • 1 comments

Let's add the nodeId field to the Dataset, DatasetVersion, Job and JobVersion response API models. This will easily allow for querying the LineageAPI for that particular meta object and return the lineage graph for the nodeId.

wslulciuc avatar Jun 25 '21 19:06 wslulciuc

I'd like to take this on. Looking at the codebase, the Dataset, DatasetVersion, Job, and JobVersion response models would each need a nodeId field that constructs the appropriate identifier (e.g. dataset:namespace:name for datasets, job:namespace:name for jobs). This lets consumers call the Lineage API directly from any metadata response without manually building the nodeId string.

I'll look at the current model classes and add the field with tests.

psaikaushik avatar Apr 12 '26 22:04 psaikaushik