Skip to content

Commit

Permalink
add logger statements for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
m-p-esser committed Oct 16, 2023
1 parent 2b47a0e commit 0bec675
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/prefect/ingest_photos_napi_gcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,17 @@ def ingest_photos_napi_gcs(
):
"""Flow to load Editorial photos from Unsplash and store them in a Google Cloud Storage Bucket"""

import pathlib

path = pathlib.Path.cwd()
for p in path.rglob("*"):
logger.info(p.name)

logger = get_run_logger()

# Init all variables
env_variables = load_env_variables()
logger.info(env_variables)
env = env_variables["ENV"] # dev, test or prod
bucket_name = f"photos-editorial-metadata-{env}"

Expand Down

0 comments on commit 0bec675

Please sign in to comment.