def METHOD_NAME(doc: str) -> str:
    doc = doc.lstrip('\n')
    indent = " " * 8
    doc = '\n'.join(
        indent + line if line.strip() else line for line in doc.split('\n')
    ).strip()
    return f'        """{doc}\n        """'