Skip to content

Commit

Permalink
remove testing logs
Browse files Browse the repository at this point in the history
  • Loading branch information
amynickolls committed Feb 12, 2025
1 parent c6be644 commit f341733
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions liiatools/common/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@

logger = logging.getLogger(__name__)

from dagster import get_dagster_logger

log = get_dagster_logger(__name__)


def _get_timestamp():
return datetime.utcnow().strftime("%Y%m%dT%H%M%S.%f")
Expand Down Expand Up @@ -243,18 +239,15 @@ def discover_month(file_locator: FileLocator) -> str:
"""
file_dir = dirname(file_locator.name)
file_name = basename(file_locator.name)
log.info(f"File directory {file_dir}")
log.info(f"File name {file_name}")

try:
return check_month(file_dir)
except ValueError:
log.info(f"Month not found in file directory {file_dir}")
pass

try:
return check_month(file_name)
except ValueError:
log.info(f"Month not found in file name {file_name}")
pass


Expand Down

0 comments on commit f341733

Please sign in to comment.