Skip to content

Commit 488855d

Browse files
authored
Merge branch 'master' into sm-distributed-versioning
2 parents 0032909 + a7ec7e1 commit 488855d

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## v2.23.6 (2021-01-20)
4+
5+
### Bug Fixes and Other Changes
6+
7+
* add artifact, action, context to virsualizer
8+
39
## v2.23.5 (2021-01-18)
410

511
### Bug Fixes and Other Changes

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.23.6.dev0
1+
2.23.7.dev0

src/sagemaker/lineage/visualizer.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)