Resolve Python Logger library warnings (#19791)

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
This commit is contained in:
Emmanuel Ferdman
2025-05-16 09:31:54 +03:00
committed by GitHub
parent 4dc06ee43f
commit 582b721160

View File

@@ -992,7 +992,7 @@ class DocumentService:
created_by=account.id, created_by=account.id,
) )
else: else:
logging.warn( logging.warning(
f"Invalid process rule mode: {process_rule.mode}, can not find dataset process rule" f"Invalid process rule mode: {process_rule.mode}, can not find dataset process rule"
) )
return return