code: def test_1_incorrect_chain(self):
      df = pd.read_csv("tests/data/concrete_strength.csv")[:500]
      target = "concrete_strength"
      pdef = ProblemDefinition.from_dict(
          {"target": target, "time_aim": 80}
      )
      jai = json_ai_from_problem(df, pdef)
      jai.analysis_blocks = [
          {
              "module": "TempScaler",
              "args": {"deps": ["Some other block"]},
          }
      ]
      with self.assertRaises(Exception) as context:
          predictor_from_json_ai(jai)
      self.assertTrue(
          "not found but necessary for block" in str(context.exception)
      )
  
file_path: lightwood/tests/integration/basic/test_jsonai.py
imports: import unittest
  import pandas
  from lightwood.api.types import ProblemDefinition
  from lightwood.api.high_level import json_ai_from_problem, predictor_from_json_ai, JsonAI, code_from_json_ai, predictor_from_code
label_desc: Use image node_id 2 for calling the TestJsonAI obj's underlying member method code with example usage: obj.test_1_incorrect_chain() without return types