code: def test_roundtrip_with_dict():
      from pybind11_tests import PickleableWithDict
  
      p = PickleableWithDict("test_value")
      p.extra = 15
      p.dynamic = "Attribute"
  
      data = pickle.dumps(p, pickle.HIGHEST_PROTOCOL)
      p2 = pickle.loads(data)
      assert p2.value == p.value
      assert p2.extra == p.extra
      assert p2.dynamic == p.dynamic
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_roundtrip_with_dict() without return types