rasa/core/utils.py
def dump_obj_as_str_to_file(filename: Text, text: Text) -> None:
    """Dump a text to a file."""

    with open(filename, 'w', encoding="utf-8") as f:
        # noinspection PyTypeChecker
        f.write(str(text))
Dump a text to a file.
Dump a text to a file.
Dump a text to a file .
def dump_obj_as_str_to_file(filename: Text, text: Text) -> None:
    with open(filename, 'w', encoding="utf-8") as f:
        f.write(str(text))
def dump_obj_as_str_to_file ( filename : Text , text : Text ) -> None : with open ( filename , 'w' , encoding = "utf-8" ) as f : f . write ( str ( text ) )
Dump a text to a file.
Dump a text to a file .
"""Dump a text to a file.""" # noinspection PyTypeChecker
filename
Text
text
Text