Skip to content

Commit

Permalink
Adds a new "parent" field in lineage model (amundsen-io#1080)
Browse files Browse the repository at this point in the history
* adds 'parent' field to help build the graph

Signed-off-by: verdan <verdan.mahmood@gmail.com>

* make the default to None

Signed-off-by: verdan <verdan.mahmood@gmail.com>
  • Loading branch information
verdan authored and Zachary Ruiz committed May 13, 2022
1 parent 7153051 commit 08f2ca5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions common/amundsen_common/models/lineage.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class LineageItem:
source: str # database this resource is from
badges: Optional[List[Badge]] = None
usage: Optional[int] = None # statistic to sort lineage items by
parent: Optional[str] = None # key of the parent entity, used to create the relationships in graph


class LineageItemSchema(AttrsSchema):
Expand Down
2 changes: 1 addition & 1 deletion common/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from setuptools import find_packages, setup

__version__ = '0.10.0'
__version__ = '0.10.1'

setup(
name='amundsen-common',
Expand Down

0 comments on commit 08f2ca5

Please sign in to comment.