examples: move save_temporary_file_as_pdf to tools

This commit is contained in:
Richard Kubíček
2025-02-28 18:40:18 +01:00
parent e21b7332d0
commit 1cf1498b25
2 changed files with 7 additions and 7 deletions

View File

@@ -1,7 +0,0 @@
def save_temporary_file_as_pdf(
input_data: bytes, output_path: str = "output.pdf"
) -> None:
with open(output_path, "wb") as f:
f.write(input_data)