code: def test_chain_serialization_mt():
      o = Chain([]).to_json()
      d = Chain.from_json(o)
      assert d.chain == []
      assert o["chain"] == []
  
file_path: pygraphistry/graphistry/tests/compute/test_chain.py
imports: import os
  import pandas
  from graphistry.compute.predicates.is_in import is_in
  import pytest
  from graphistry.compute.ast import ASTNode, ASTEdge, n, e
  from graphistry.compute.chain import Chain
  from graphistry.tests.test_compute import CGFull
label_desc: Use image node_id 1 for calling a global function with example usage: test_chain_serialization_mt() without return types