class_docstr: Writes story training data to file.
docstr: Writes Story steps into a target file/stream.
  
  Args:
      target: name of the target file/stream to write the string to.
      story_steps: Original story steps to be converted to the string.
      is_appendable: Specify if result should not contain
                     high level keys/definitions and can be appended to
                     the existing story file.
      is_test_story: Identifies if the stories should be exported in test stories
                     format.
docstr_tok: ["Writes","Story","steps","into","a","target","file\/stream",".","Args",":","target",":","name","of","the","target","file\/stream","to","write","the","string","to",".","story_steps",":","Original","story","steps","to","be","converted","to","the","string",".","is_appendable",":","Specify","if","result","should","not","contain","high","level","keys\/definitions","and","can","be","appended","to","the","existing","story","file",".","is_test_story",":","Identifies","if","the","stories","should","be","exported","in","test","stories","format","."]
code: def dump(
      self,
      target: Union[Text, Path, yaml.StringIO],
      story_steps: List["StoryStep"],
      is_appendable: bool = False,
      is_test_story: bool = False,
  ) -> None:
      """Writes Story steps into a target file/stream.
  
      Args:
          target: name of the target file/stream to write the string to.
          story_steps: Original story steps to be converted to the string.
          is_appendable: Specify if result should not contain
                         high level keys/definitions and can be appended to
                         the existing story file.
          is_test_story: Identifies if the stories should be exported in test stories
                         format.
      """
      raise NotImplementedError
  
file_path: rasa/rasa/shared/core/training_data/story_writer/story_writer.py
imports: import typing
  from pathlib import Path
  from typing import List, Text, Union
  from ruamel import yaml
label_desc: Use image node_id 2 for calling the StoryWriter obj's underlying member method code with example usage: obj.dump(target, story_steps, is_appendable, is_test_story) without return types