Skip to content

Commit

Permalink
fix: update log level (#21)
Browse files Browse the repository at this point in the history
Co-authored-by: Ethan Cartwright <[email protected]>
Co-authored-by: Mayuri Nehate <[email protected]>
  • Loading branch information
3 people authored Mar 12, 2024
1 parent 63b8397 commit 459d25f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions datahub-classify/src/datahub_classify/infotype_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,13 @@ def perform_basic_checks(
and prediction_factors.get(VALUES, None)
and len(values) < minimum_values_threshold
):
logger.warning(
f"The number of values for column {metadata.name}"
logger.debug(
f"The number of values for column {metadata.name} "
f"does not meet minimum threshold for {infotype}"
)
basic_checks_status = False
elif exclude_name is not None and metadata.name in exclude_name:
logger.warning(f"Excluding match for {infotype} on column {metadata.name}")
logger.debug(f"Excluding match for {infotype} on column {metadata.name}")
basic_checks_status = False
# TODO: Add more basic checks
return basic_checks_status
1 change: 0 additions & 1 deletion datahub-classify/tests/infotypes_benchmarking.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
$ python infotypes_benchmarking.py
"""


import os
import time

Expand Down

0 comments on commit 459d25f

Please sign in to comment.