Skip to content

Commit

Permalink
update s3 download_file example
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-finnigan committed May 14, 2024
1 parent bbd1223 commit 8978a41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boto3/s3/inject.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ def download_file(
Usage::
import boto3
s3 = boto3.resource('s3')
s3.meta.client.download_file('mybucket', 'hello.txt', '/tmp/hello.txt')
s3 = boto3.client('s3')
s3.download_file('mybucket', 'hello.txt', '/tmp/hello.txt')
Similar behavior as S3Transfer's download_file() method,
except that parameters are capitalized. Detailed examples can be found at
Expand Down

0 comments on commit 8978a41

Please sign in to comment.