code: def __iter__(self):
      return (
          getattr(self, field.name)
          for field in dataclasses.fields(self)
      )
  
imports: import dataclasses
  import typing
  from typing import Dict, List, Mapping, Optional, Tuple, Union
  import tensorflow
  from tensorflow_transform import common_types
  from tensorflow_transform.tf_metadata import schema_utils_legacy
  from tfx_bsl.tfxio import tensor_representation_util
  from tensorflow_metadata.proto.v0 import path_pb2
  from tensorflow_metadata.proto.v0 import schema_pb2
label_desc: Use image node_id 1 for calling the SchemaAsFeatureSpecResult obj's underlying member method code with example usage: obj.__iter__() and returns: unknown