Skip to content

Commit 68692b4

Browse files
authored
Update __init__.py
1 parent 2603594 commit 68692b4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Initialize script demonstration"""
2-
1+
"""Initialize script."""
32
from faker import Faker
43

54
from config import BUCKET_DIR, BUCKET_NAME, LOCAL_DIR
@@ -11,14 +10,15 @@
1110
upload_files,
1211
)
1312

13+
# Using the `faker` library to generate random strings
1414
fake = Faker()
1515

1616

1717
def init_script():
18-
"""Initialize script demonstration."""
18+
"""Execute actions on a bucket containing files."""
1919
print(upload_files(BUCKET_NAME, BUCKET_DIR, LOCAL_DIR))
2020
print(list_files())
2121
print(download_random_file(LOCAL_DIR))
2222
print(rename_file(fake.unique.first_name()))
2323
print(delete_file(BUCKET_NAME))
24-
upload_files(BUCKET_NAME, BUCKET_DIR, LOCAL_DIR)
24+
print(upload_files(BUCKET_NAME, BUCKET_DIR, LOCAL_DIR))

0 commit comments

Comments
 (0)