mirror of
https://github.com/bec-project/slurm_manager.git
synced 2026-11-03 02:43:35 +01:00
docs: preserve line breaks in live log example
This commit is contained in:
1 parent
8bc0149b35
commit
97e731d6cb
1 file changed
+1
-1
@@ -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}"),
|
||||
},
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user