File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -85,13 +85,18 @@ class Run:
85
85
"""
86
86
87
87
@pydantic .validate_call
88
- def __init__ (self , mode : typing .Literal ["online" , "offline" ] = "online" ) -> None :
88
+ def __init__ (
89
+ self , mode : typing .Literal ["online" , "offline" , "disabled" ] = "online"
90
+ ) -> None :
89
91
"""Initialise a new Simvue run
90
92
91
93
Parameters
92
94
----------
93
- mode : Literal['online', 'offline'], optional
94
- mode of running, by default "online"
95
+ mode : Literal['online', 'offline', 'disabled'], optional
96
+ mode of running
97
+ online - objects sent directly to Simvue server
98
+ offline - everything is written to disk for later dispatch
99
+ disabled - disable monitoring completely
95
100
"""
96
101
self ._uuid : str = f"{ uuid .uuid4 ()} "
97
102
self ._mode : typing .Literal ["online" , "offline" , "disabled" ] = mode
You can’t perform that action at this time.
0 commit comments