class_docstr: Adapter for Python generators.
code: def num_batches(self):
      return None
  
file_path: keras/keras/trainers/data_adapters/generator_data_adapter.py
imports: import itertools
  import numpy
  import tree
  from keras.trainers.data_adapters.data_adapter import DataAdapter
label_desc: Use image node_id 5 for calling the GeneratorDataAdapter obj's underlying member method code with example usage: obj.num_batches() and returns: None