class_docstr: Episode mutator than can map one episode to zero or more.
docstr: Abstract many-episode mutation.
  
  The main method to implement when creation a ManyEpisodeMutator.
  You should map this episode to zero-or-more episodes.
  
  If you wish to create multiple episodes, you need to output
  one-sublist-per-new-episode. As with EpisodeMutator, "episode_done"
  will be automatically stripped and re-inserted for you.
  
  :param episode:
      A single episode (provided list of Messages).
  :returns:
      A list of list of messages. Each sub-list will be turned into a new
      episode.
docstr_tok: ["Abstract","many-episode","mutation",".","The","main","method","to","implement","when","creation","a","ManyEpisodeMutator",".","You","should","map","this","episode","to","zero-or-more","episodes",".","If","you","wish","to","create","multiple","episodes",",","you","need","to","output","one-sublist-per-new-episode",".","As","with","EpisodeMutator",",","``","episode_done","''","will","be","automatically","stripped","and","re-inserted","for","you",".",":","param","episode",":","A","single","episode","(","provided","list","of","Messages",")",".",":","returns",":","A","list","of","list","of","messages",".","Each","sub-list","will","be","turned","into","a","new","episode","."]
code: def many_episode_mutation(
      self, episode: List[Message]
  ) -> List[List[Message]]:
      """
      Abstract many-episode mutation.
  
      The main method to implement when creation a ManyEpisodeMutator.
      You should map this episode to zero-or-more episodes.
  
      If you wish to create multiple episodes, you need to output
      one-sublist-per-new-episode. As with EpisodeMutator, "episode_done"
      will be automatically stripped and re-inserted for you.
  
      :param episode:
          A single episode (provided list of Messages).
      :returns:
          A list of list of messages. Each sub-list will be turned into a new
          episode.
      """
      pass
  
imports: from __future__ import annotations
  import abc
  import importlib
  import pkgutil
  from typing import Optional, Iterable, Tuple, List, Iterator, Callable, Type
  import parlai.mutators
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  from parlai.core.message import Message
label_desc: Use image node_id 1 for calling the ManyEpisodeMutator obj's underlying member method code with example usage: obj.many_episode_mutation(episode) without return types