Skip to content

Commit e1fb7a2

Browse files
aws-byeldosnavinsoni
authored andcommitted
feature: added _last_analysis_config in SageMakerClarifyProcessor
1 parent 71989f9 commit e1fb7a2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/sagemaker/clarify.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,10 @@ def _run(
983983
the Trial Component will be unassociated.
984984
* ``'TrialComponentDisplayName'`` is used for display in Amazon SageMaker Studio.
985985
"""
986+
# for debugging: to access locally, i.e. without a need to look for it in an S3 bucket
987+
self._last_analysis_config = analysis_config
988+
logger.info("Analysis Config: ", analysis_config)
989+
986990
with tempfile.TemporaryDirectory() as tmpdirname:
987991
analysis_config_file = os.path.join(tmpdirname, "analysis_config.json")
988992
with open(analysis_config_file, "w") as f:

0 commit comments

Comments
 (0)