Less debug. Also why was this using the print() function? It should have been using the normal log.info() or whatever.
This commit is contained in:
@@ -316,7 +316,7 @@ def run_sql_select(
|
||||
) -> Any:
|
||||
log.setLevel(log_lvl)
|
||||
|
||||
print(f"Executing SQL: {sql} with data: {data}", flush=True)
|
||||
# print(f"Executing SQL: {sql} with data: {data}", flush=True)
|
||||
|
||||
try:
|
||||
return lib_sql_core.db.execute(sql, data)
|
||||
|
||||
@@ -228,7 +228,7 @@ def sql_search_qry_part(
|
||||
|
||||
if use_random:
|
||||
target_field = candidate_field
|
||||
print(f"Search Trace: Mapping filter field '{f.field}' -> '{target_field}'", flush=True)
|
||||
# print(f"Search Trace: Mapping filter field '{f.field}' -> '{target_field}'", flush=True)
|
||||
else:
|
||||
# If random doesn't exist, we must stick to the integer column
|
||||
# but we'll need to resolve the string value to an integer elsewhere
|
||||
|
||||
Reference in New Issue
Block a user