class_docstr: Visitor that constructs the beam pipeline from the node graph.
class_docstr_tok: ["Visitor","that","constructs","the","beam","pipeline","from","the","node","graph","."]
code: def validate_value(self, value):
      if not isinstance(value, beam.pvalue.PCollection):
          raise TypeError(
              "Expected a PCollection, got {} of type {}".format(
                  value, type(value)
              )
          )
  
imports: import collections
  import dataclasses
  import enum
  import os
  from typing import Any, Dict, Mapping, Optional
  import uuid
  import apache_beam
  from tensorflow_transform import common_types
  from tensorflow_transform import nodes
  from tfx_bsl.telemetry import util
label_desc: Use image node_id 3 for calling the ConstructBeamPipelineVisitor obj's underlying member method code with example usage: obj.validate_value(value) without return types