code: def print_tests(tests, onlyFails=False):
      """
      After we have the pdf log with this function we are printing the values on the screen at the end of the execution tests.
  
      ----------
      tests : pdf log
      onlyFails: we can choose print only the failed results and queries.
      """
      print(
          """************************************************************
            *******************"""
      )
  
      tab = "    "
  
      failedPrefix = ""
      if onlyFails:
          failedPrefix = "FAILED"
  
      # TODO percy check None
      for extension in tests:
          if onlyFails:
              if extension == "parquet":
                  print(
                      "!!!!!!!!!!!!!!!! "
                      + failedPrefix
                      + " "
                      + extension
                      + " TESTS !!!!!!!!!!!!"
                  )
              else:
                  print(
                      "!!!!!!!!!!!!!!!! "
                      + failedPrefix
                      + " "
                      + extension
                      + " TESTS !!!!!!!!!!!!!!!!"
                  )
          else:
              if extension == "parquet":
                  print(
                      "################ "
                      + extension
                      + " TESTS ############"
                  )
              else:
                  print(
                      "############## "
                      + extension
                      + " TESTS ##############"
                  )
  
          testNames = tests.get(extension)
          for testName in testNames:
              test = testNames.get(testName)
  
              total = test.get("total")
              countPass = test.get("countPass")
              countCrash = test.get("countCrash")
              failIds = test.get("failIds")
  
              showTest = False
  
              if onlyFails:
                  if len(failIds) > 0:
                      showTest = True
                      print(tab + "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
              else:
                  showTest = True
                  print(tab + "++++++++++++++++++++++++++++++++")
  
              if showTest:
                  green = bcolors.OKGREEN
                  yellow = bcolors.WARNING
                  red = bcolors.FAIL
                  endc = bcolors.ENDC
  
                  # don't use colors since jenkins doesn't support ansi chars
                  if on_jenkins():
                      green = ""
                      yellow = ""
                      red = ""
                      endc = ""
  
                  print(
                      tab
                      + "SUMMARY for "
                      + failedPrefix
                      + " test suite: "
                      + testName
                      + " - "
                      + extension
                  )
  
                  if not onlyFails:
                      pass_green = green
                      pass_endc = endc
                      if (
                          countPass != total
                      ):  # if no full pass then don't use green colors here
                          pass_green = ""
                          pass_endc = ""
  
                      print(
                          pass_green
                          + tab
                          + "PASSED: "
                          + str(countPass)
                          + "/"
                          + str(total)
                          + pass_endc
                      )
  
                  fails = total - countPass - countCrash
                  yellow_fail = yellow
                  yellow_endc = endc
                  if fails == 0:
                      yellow_fail = ""
                      yellow_endc = ""
  
                  print(
                      yellow_fail
                      + tab
                      + "FAILED: "
                      + str(fails)
                      + "/"
                      + str(total)
                      + " "
                      + str(failIds)
                      + yellow_endc
                  )
  
                  red_crash = red
                  red_endc = endc
  
                  # if no crashes then don't use red colors here
                  if countCrash == 0:
                      red_crash = ""
                      red_endc = ""
  
                  print(
                      red_crash
                      + tab
                      + "CRASH: "
                      + str(countCrash)
                      + "/"
                      + str(total)
                      + red_endc
                  )
  
                  if not onlyFails:
                      print(tab + "TOTAL: " + str(total))
  
imports: import json
  import logging
  import os
  import re
  import time
  import yaml
  import numpy
  import pandas
  import blazingsql
  from blazingsql import DataType
  from BlazingLogging import loggingHandler
  from Configuration import ExecutionMode
  from Configuration import Settings
  from DataBase import createSchema
label_desc: Use image node_id 24 for calling a global function with example usage: print_tests(tests, onlyFails) without return types