Skip to content

Correct docs to reflect that upload_data would create only default bucket. #373

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 2 commits into from
Aug 31, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/sagemaker/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ def upload_data(self, path, bucket=None, key_prefix='data'):
Args:
path (str): Path (absolute or relative) of local file or directory to upload.
bucket (str): Name of the S3 Bucket to upload to (default: None). If not specified, the
default bucket of the ``Session`` is used. If the bucket does not exist, the ``Session``
creates the bucket.
default bucket of the ``Session`` is used (if default bucket does not exist, the ``Session``
creates it).
key_prefix (str): Optional S3 object key name prefix (default: 'data'). S3 uses the prefix to
create a directory structure for the bucket content that it display in the S3 console.

Expand Down