Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update log level #21

Merged
merged 3 commits into from
Mar 12, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 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(
logger.debug(
f"The number of values for column {metadata.name}"
mayurinehate marked this conversation as resolved.
Show resolved Hide resolved
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
Loading