Skip to content

documentation: clarify that default_bucket creates a bucket #2429

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Aug 10, 2021
2 changes: 2 additions & 0 deletions src/sagemaker/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,8 @@ def list_s3_files(self, bucket, key_prefix):
def default_bucket(self):
"""Return the name of the default bucket to use in relevant Amazon SageMaker interactions.

This function will create the s3 bucket if it does not exist.

Returns:
str: The name of the default bucket, which is of the form:
``sagemaker-{region}-{AWS account ID}``.
Expand Down