code: def my_failing_trainable(config):
      if config["should_fail"]:
          raise RuntimeError("Failing (on purpose)!")
      # Do some training...
      time.sleep(10)
      train.report({"mean_accuracy": 0.9})
  
imports: from ray import train
  from ray import train, tune
  from ray import train, tune
  from ray import train, tune
  from ray.tune import Stopper
  from ray import train, tune
  import time
  from ray import train, tune
  from ray.tune.schedulers import AsyncHyperBandScheduler
  from ray import train, tune
  from ray import tune
label_desc: Use image node_id 4 for calling a global function with example usage: my_failing_trainable(config) without return types