code: def new_trial(value, sleep=0.01):
      """Generate a dummy new trial"""
      return Trial(
          params=[
              dict(name="lhs", type="real", value=value),
              dict(name="sleep", type="real", value=sleep),
          ]
      )
  
file_path: orion/tests/unittests/client/runner_subprocess.py
imports: from argparse import ArgumentParser
  from orion.client.runner import Runner
  from orion.core.utils.exceptions import WaitingForTrials
  from orion.core.worker.trial import Trial
  from orion.executor.base import executor_factory
label_desc: Use image node_id 1 for calling a global function with example usage: new_trial(value, sleep) and returns: Trial