class_docstr: DatasetBuilder initialized from a Croissant config file.
class_docstr_tok: ["DatasetBuilder","initialized","from","a","Croissant","config","file","."]
docstr: Returns the desired record set from self.metadata.
docstr_tok: ["Returns","the","desired","record","set","from","self.metadata","."]
code: def get_record_set(self, record_set_name: str):
      """Returns the desired record set from self.metadata."""
      for record_set in self.dataset.metadata.record_sets:
          if record_set.name == record_set_name:
              return record_set
      raise ValueError(
          f"Did not find any record set with the name {record_set_name}."
      )
  
imports: from typing import Any, Dict, Optional, Sequence
  from etils import epath
  import numpy
  from tensorflow_datasets.core import dataset_builder
  from tensorflow_datasets.core import dataset_info
  from tensorflow_datasets.core import download
  from tensorflow_datasets.core import split_builder
  from tensorflow_datasets.core import splits
  from tensorflow_datasets.core.features import feature
  from tensorflow_datasets.core.features import features_dict
  from tensorflow_datasets.core.features import image_feature
  from tensorflow_datasets.core.features import sequence_feature
  from tensorflow_datasets.core.features import text_feature
  from tensorflow_datasets.core.utils import type_utils
  from tensorflow_datasets.core.utils.lazy_imports_utils import mlcroissant
  from tensorflow_datasets.core.utils.lazy_imports_utils import pandas
label_desc: Use image node_id 4 for calling the CroissantBuilder obj's underlying member method code with example usage: obj.get_record_set(record_set_name) and returns: record_set