code: def test_from_json_good():
      d = from_json({"type": "Duplicated", "keep": "last"})
      assert isinstance(d, Duplicated)
      assert d.keep == "last"
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_from_json_good() without return types