code: def testDependentLambda(self):
      trials = self.generate_trials(
          {
              "run": "PPO",
              "config": {
                  "x": grid_search([1, 2]),
                  "y": tune.sample_from(
                      lambda spec: spec.config.x * 100
                  ),
              },
          },
          "dependent_lambda",
      )
      trials = list(trials)
      self.assertEqual(len(trials), 2)
      self.assertEqual(trials[0].config, {"x": 1, "y": 100})
      self.assertEqual(trials[1].config, {"x": 2, "y": 200})
  
imports: import os
  import numpy
  import random
  import unittest
  import ray
  from ray.rllib import _register_all
  from ray import tune
  from ray.tune.result import DEFAULT_RESULTS_DIR
  from ray.tune.search import grid_search, BasicVariantGenerator
  from ray.tune.search.variant_generator import RecursiveDependencyError, _resolve_nested_dict
label_desc: Use image node_id 9 for calling the VariantGeneratorTest obj's underlying member method code with example usage: obj.testDependentLambda() without return types