Source code for project_config.serializers.text

"""Array serializing for text files."""

from __future__ import annotations

import typing as t


[docs]def loads(string: str) -> t.List[str]: """Converts a string to an array of lines. Args: string: The string to convert. Returns: list: Array of lines created from string splitting. """ return string.splitlines()