Skip to content

Commit

Permalink
update 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 688760f commit 4c4add9
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 4c4add9

Please sign in to comment.