Skip to content

Commit 3260594

Browse files
committed
Provide another reason why a context manager should be used
1 parent 554960f commit 3260594

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ if __name__ == "__main__":
3030
3131
...
3232
33-
# Using a context manager means that the status will be set to completed automatically
33+
# Using a context manager means that the status will be set to completed automatically,
34+
# and also means that if the code exits with an exception this will be reported to Simvue
3435
with Run() as run:
3536
3637
# Specify a run name, metadata (dict), tags (list), description, folder

0 commit comments

Comments
 (0)