File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ def show(
39
39
pipeline_execution_step = None ,
40
40
model_package_arn = None ,
41
41
endpoint_arn = None ,
42
+ artifact_arn = None ,
43
+ context_arn = None ,
44
+ actions_arn = None ,
42
45
):
43
46
"""Generate a dataframe containing all incoming and outgoing lineage entities.
44
47
@@ -57,6 +60,9 @@ def show(
57
60
pipeline_execution_step (obj, optional): Pipeline execution step. Defaults to None.
58
61
model_package_arn (str, optional): Model package arn. Defaults to None.
59
62
endpoint_arn (str, optional): Endpoint arn. Defaults to None.
63
+ artifact_arn (str, optional): Artifact arn. Defaults to None.
64
+ context_arn (str, optional): Context arn. Defaults to None.
65
+ actions_arn (str, optional): Action arn. Defaults to None.
60
66
61
67
Returns:
62
68
DataFrame: Pandas dataframe containing lineage associations.
@@ -77,6 +83,12 @@ def show(
77
83
start_arn = self ._get_start_arn_from_model_package_arn (model_package_arn )
78
84
elif endpoint_arn :
79
85
start_arn = self ._get_start_arn_from_endpoint_arn (endpoint_arn )
86
+ elif artifact_arn :
87
+ start_arn = artifact_arn
88
+ elif context_arn :
89
+ start_arn = context_arn
90
+ elif actions_arn :
91
+ start_arn = actions_arn
80
92
81
93
return self ._get_associations_dataframe (start_arn )
82
94
You can’t perform that action at this time.
0 commit comments