Skip to content

Commit

Permalink
format names
Browse files Browse the repository at this point in the history
  • Loading branch information
vasilis committed May 24, 2022
1 parent 02e6f97 commit 5c63529
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"makefile.extensionOutputFolder": "./.vscode"
}
4 changes: 2 additions & 2 deletions psql_to_redshift/src/to_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
s3_client = boto3.client("s3")


def create_bucket(bucket_name: str = "on-boarding-forty-two-matters") -> None:
def create_bucket(bucket_name: str = "my_bucket_name") -> None:

if not s3.Bucket(bucket_name) in s3.buckets.all():
logger.info(f"Creating bucket {bucket_name}")
Expand All @@ -22,7 +22,7 @@ def create_bucket(bucket_name: str = "on-boarding-forty-two-matters") -> None:


def upload_file(
file_path: str, bucket_name: str = "on-boarding-forty-two-matters"
file_path: str, bucket_name: str = "my_bucket_name", key: str = "my_key"
) -> None:
logger.info("Uploading file to bucket...")
with open(file_path, "rb") as data:
Expand Down

0 comments on commit 5c63529

Please sign in to comment.