Skip to content

Commit 5223343

Browse files
author
Miguel Wychovaniec
committed
Added requirements.txt
1 parent 3a70028 commit 5223343

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

projects/S3_File_Upload/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
S3_FILE_NAME = 'file_name_on_s3'
99

1010
def upload_to_s3(local_file, bucket, s3_file):
11+
## This function is responsible for uploading the file into the S3 bucket using the specified credentials.
1112
s3 = boto3.client('s3', aws_access_key_id=ACCESS_KEY,
1213
aws_secret_access_key=SECRET_KEY)
1314
try:
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
boto3==1.20.4
2+
botocore==1.23.4

0 commit comments

Comments
 (0)