Skip to content

Commit 2ec9861

Browse files
fix: add keep-state-file context property
1 parent 334786d commit 2ec9861

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/uipath/runtime/context.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ class UiPathRuntimeContext(BaseModel):
7777
logs_min_level: str | None = Field("INFO", description="Minimum log level")
7878
result: UiPathRuntimeResult | None = None
7979
trace_manager: UiPathTraceManager | None = None
80+
keep_state_file: bool = Field(
81+
False, description="Prevents deletion of state file before running."
82+
)
8083

8184
model_config = ConfigDict(arbitrary_types_allowed=True, extra="allow")
8285

0 commit comments

Comments
 (0)