Skip to content

Commit

Permalink
add logging if debug true
Browse files Browse the repository at this point in the history
  • Loading branch information
edulauer committed Oct 25, 2024
1 parent 2a13507 commit d8860d0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fastetl/custom_functions/fast_etl.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ def copy_db_to_db(
Return:
None
"""
if debug_mode:
logging.info("Debug mode on")

# validate connections
source = SourceConnection(source)
Expand Down Expand Up @@ -525,6 +527,9 @@ def sync_db_2_db(
None
"""

if debug_mode:
logging.info("Debug mode on")

def _divide_chunks(l, n):
"""Split list into a new list with n lists"""
# looping till length l
Expand Down

0 comments on commit d8860d0

Please sign in to comment.