Skip to content

Commit 4ea7a2f

Browse files
rohangujarathiRohan Gujarathi
authored andcommitted
pipeline definition function doc update (#5074)
Co-authored-by: Rohan Gujarathi <[email protected]>
1 parent 0669fa6 commit 4ea7a2f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/sagemaker/workflow/pipeline.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,11 @@ def start(
383383
)
384384

385385
def definition(self) -> str:
386-
"""Converts a request structure to string representation for workflow service calls."""
386+
"""Converts a request structure to string representation for workflow service calls.
387+
388+
Returns:
389+
A JSON formatted string of pipeline definition.
390+
"""
387391
compiled_steps = StepsCompiler(
388392
pipeline_name=self.name,
389393
sagemaker_session=self.sagemaker_session,

0 commit comments

Comments
 (0)