code: def __init__(self, chain: List[ASTObject]) -> None:
      self.chain = chain
  
file_path: pygraphistry/graphistry/compute/chain.py
imports: from typing import Any, Dict, Union, cast, List, Tuple, TYPE_CHECKING
  import pandas
  from graphistry.Engine import Engine, EngineAbstract, df_concat, resolve_engine
  from graphistry.Plottable import Plottable
  from graphistry.compute.ASTSerializable import ASTSerializable
  from graphistry.util import setup_logger
  from graphistry.utils.json import JSONVal
  from .ast import ASTObject, ASTNode, ASTEdge, from_json
  from .typing import DataFrameT
label_desc: Use image node_id 1 to create a new Chain object from inherited base classes: ASTSerializable with example: obj = Chain(chain)