Skip to content

Commit c5b2de3

Browse files
Clarify that default_bucket creates a bucket
1 parent 0a63eec commit c5b2de3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sagemaker/session.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,8 @@ def list_s3_files(self, bucket, key_prefix):
355355

356356
def default_bucket(self):
357357
"""Return the name of the default bucket to use in relevant Amazon SageMaker interactions.
358+
359+
This function will create the s3 bucket if it does not exist.
358360
359361
Returns:
360362
str: The name of the default bucket, which is of the form:

0 commit comments

Comments
 (0)