class_docstr: Utility class for iterating through a single episode.
  
  Used in the context of the Conversations class.
class_docstr_tok: ["Utility","class","for","iterating","through","a","single","episode",".","Used","in","the","context","of","the","Conversations","class","."]
docstr: Return the next conversation.
docstr_tok: ["Return","the","next","conversation","."]
code: def __next__(self):
      """
      Return the next conversation.
      """
      if self.iterator_idx >= len(self.turns):
          raise StopIteration
  
      conv = self.turns[self.iterator_idx]
      self.iterator_idx += 1
  
      return conv
  
imports: import datetime
  import json
  import os
  import itertools
  from parlai.utils.io import PathManager
  from parlai.core.metrics import dict_report
  from parlai.utils.misc import AttrDict
  import parlai.utils.logging
label_desc: Use image node_id 7 for calling the Conversation obj's underlying member method code with example usage: obj.__next__() and returns: conv