Spaces:
Running on Zero
Running on Zero
| from __future__ import annotations | |
| from pathlib import Path | |
| def write_text_file(text: str, destination: Path) -> Path: | |
| destination.write_text(text or "", encoding="utf-8-sig") | |
| return destination | |