code: def on_trial_end(self, trial):
      if self.verbose < 1:
          return
  
      utils.try_clear()
  
      time_taken_str = self.format_duration(
          datetime.now() - self.trial_start[trial.trial_id]
      )
      print(
          f"Trial {self.trial_number[trial.trial_id]} "
          f"Complete [{time_taken_str}]"
      )
  
      if trial.score is not None:
          print(f"{self.oracle.objective.name}: {trial.score}")
  
      print()
      best_trials = self.oracle.get_best_trials()
      best_score = (
          best_trials[0].score if len(best_trials) > 0 else None
      )
      print(f"Best {self.oracle.objective.name} So Far: {best_score}")
  
      time_elapsed_str = self.format_duration(
          datetime.now() - self.search_start
      )
      print(f"Total elapsed time: {time_elapsed_str}")
  
imports: import collections
  import hashlib
  import os
  import random
  import threading
  import warnings
  from datetime import datetime
  import numpy
  from keras_tuner import backend
  from keras_tuner import utils
  from keras_tuner.api_export import keras_tuner_export
  from keras_tuner.engine import hyperparameters
  from keras_tuner.engine import objective
  from keras_tuner.engine import stateful
  from keras_tuner.engine import trial
label_desc: Use image node_id 5 for calling the Display obj's underlying member method code with example usage: obj.on_trial_end(trial) without return types