code: def _filter_class_attributes(path, parent, children):
      """Filter out class attirubtes that are part of the PTransform API."""
      del path
      skip_class_attributes = {
          "expand",
          "label",
          "from_runner_api",
          "register_urn",
          "side_inputs",
      }
      if inspect.isclass(parent):
          children = [
              (name, child)
              for (name, child) in children
              if name not in skip_class_attributes
          ]
      return children
  
file_path: data-validation/tensorflow_data_validation/tools/build_docs.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import inspect
  from absl import app
  from absl import flags
  import apache_beam
  import tensorflow_data_validation
  from tensorflow_docs.api_generator import doc_controls
  from tensorflow_docs.api_generator import generate_lib
  from tensorflow_docs.api_generator import public_api
label_desc: Use image node_id 1 for calling a global function with example usage: _filter_class_attributes(path, parent, children) and returns: children