docs: preserve line breaks in live log example

This commit is contained in:
wakonig_k authored and Klaus Wakonig committed 2026-10-28 18:05:33 +01:00
1 parent 8bc0149b35
commit 97e731d6cb
1 file changed
+1 -1
+1 -1
View File
@@ -61,7 +61,7 @@ try:
standard_error="/das/home/your_username/slurm_logs/%j.err",
),
callbacks={
"log": lambda message: print(message.log, end="", flush=True),
"log": lambda message: print(message.log, flush=True),
"status": lambda message: print(f"Job status: {message.status}"),
},
)