Skip to content

Commit d8822ac

Browse files
tuliocasagrandeahsan-z-khanshreyapandit
authored
documentation: clarify that default_bucket creates a bucket (#2429)
Co-authored-by: Ahsan Khan <[email protected]> Co-authored-by: Shreya Pandit <[email protected]>
1 parent 1a2d36f commit d8822ac

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
@@ -357,6 +357,8 @@ def list_s3_files(self, bucket, key_prefix):
357357
def default_bucket(self):
358358
"""Return the name of the default bucket to use in relevant Amazon SageMaker interactions.
359359
360+
This function will create the s3 bucket if it does not exist.
361+
360362
Returns:
361363
str: The name of the default bucket, which is of the form:
362364
``sagemaker-{region}-{AWS account ID}``.

0 commit comments

Comments
 (0)