code: def test_iterators_init_method_api_compatibility():
      # given
      iterator_init_args = inspect.getfullargspec(
          DALIGenericIterator.__init__
      ).args
      peekalbe_iterator_init_args = inspect.getfullargspec(
          DALIPeekableIterator.__init__
      ).args
  
      # then
      assert iterator_init_args == peekalbe_iterator_init_args
  
      # Get docs for the decorator "Parameters" section
      # Skip the first argument, which differs (pipelines vs. pipeline_fn)
      iterator_decorator_docs = inspect.getdoc(DALIGenericIterator)
      iterator_decorator_docs = iterator_decorator_docs.split(
          "output_map"
      )[1]
  
      iterator_init_docs = inspect.getdoc(DALIPeekableIterator)
      iterator_init_docs = iterator_init_docs.split("output_map")[1]
  
      assert iterator_decorator_docs == iterator_init_docs
  
file_path: DALI/dali/test/python/jax_plugin/test_peekable_iterator.py
imports: import jax.numpy
  from nvidia.dali.pipeline import pipeline_def
  from nvidia.dali.plugin.jax.clu import DALIGenericPeekableIterator
  from nvidia.dali.plugin.jax.iterator import DALIGenericIterator
  from utils import iterator_function_def
  from clu.data.dataset_iterator import ArraySpec
  from nose_utils import raises
  import time
  import inspect
  from utils import pipeline_with_variable_shape_output
label_desc: Use image node_id 5 for calling a global function with example usage: test_iterators_init_method_api_compatibility() without return types