Skip to content

Commit 7a7972f

Browse files
committed
Test level
1 parent a21763f commit 7a7972f

File tree

1 file changed

+2
-1
lines changed
  • functions-python/batch_process_dataset/src

1 file changed

+2
-1
lines changed

functions-python/batch_process_dataset/src/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
from shared.database.database import with_db_session, refresh_materialized_view
3535
import logging
3636

37-
from shared.helpers.logger import init_logger, get_logger
37+
from shared.helpers.logger import init_logger, get_logger, Logger
3838
from shared.helpers.utils import download_and_get_hash
3939
from sqlalchemy.orm import Session
4040

@@ -314,6 +314,7 @@ def process_dataset(cloud_event: CloudEvent):
314314
}
315315
}
316316
"""
317+
Logger.init_logger()
317318
logging.info("Function Started")
318319
print("Function Started print")
319320
stable_id = "UNKNOWN"

0 commit comments

Comments
 (0)