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(
3939 pipeline_execution_step = None ,
4040 model_package_arn = None ,
4141 endpoint_arn = None ,
42+ artifact_arn = None ,
43+ context_arn = None ,
44+ actions_arn = None ,
4245 ):
4346 """Generate a dataframe containing all incoming and outgoing lineage entities.
4447
@@ -57,6 +60,9 @@ def show(
5760 pipeline_execution_step (obj, optional): Pipeline execution step. Defaults to None.
5861 model_package_arn (str, optional): Model package arn. Defaults to None.
5962 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.
6066
6167 Returns:
6268 DataFrame: Pandas dataframe containing lineage associations.
@@ -77,6 +83,12 @@ def show(
7783 start_arn = self ._get_start_arn_from_model_package_arn (model_package_arn )
7884 elif endpoint_arn :
7985 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
8092
8193 return self ._get_associations_dataframe (start_arn )
8294
You can’t perform that action at this time.
0 commit comments