code: def test_channel_handle():
      attr = mhlo.ChannelHandle.get(handle=1, type=2)
      assert attr is not None
      assert attr.handle == 1
      assert attr.channel_type == 2
  
file_path: tensorflow/third_party/xla/xla/mlir_hlo/tests/python/attributes.py
imports: from mlir import ir
  from mlir.dialects import mhlo
label_desc: Use image node_id 2 for calling a global function with example usage: test_channel_handle() without return types