code: def test_mixed(self) -> None:
      data = {"foo": [{"bar": True, "baz": [42, 43]}]}
      inject_nested_value(data, ["foo", "0", "baz", "1"], 1)
      self.assertEqual(data, {"foo": [{"bar": True, "baz": [42, 1]}]})
  
imports: from enum import Enum
  from typing import ClassVar, Dict, List, Optional, Union
  from unittest import main, TestCase
  import attr
  from torchbiggraph.schema import Dumper, extract_nested_type, inject_nested_value, Loader, Schema, schema, unpack_optional
label_desc: Use image node_id 2 for calling the TestInjectNestedValue obj's underlying member method code with example usage: obj.test_mixed() without return types