Skip to content

Commit 66ff156

Browse files
committed
chore: add missing runtime status
1 parent e824efd commit 66ff156

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "uipath-runtime"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
description = "Runtime abstractions and interfaces for building agents and automation scripts in the UiPath ecosystem"
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"

src/uipath/runtime/debug/runtime.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
UiPathDebugBridgeProtocol,
1616
UiPathDebugQuitError,
1717
)
18+
from uipath.runtime.errors import UiPathRuntimeError
1819
from uipath.runtime.events import (
1920
UiPathRuntimeEvent,
2021
UiPathRuntimeStateEvent,
@@ -271,7 +272,7 @@ async def _poll_trigger(
271272

272273
await self._wait_with_quit_check()
273274

274-
except UiPathDebugQuitError:
275+
except (UiPathDebugQuitError, UiPathRuntimeError):
275276
raise
276277
except Exception as e:
277278
await self.debug_bridge.emit_state_update(

src/uipath/runtime/result.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ class UiPathRuntimeStatus(str, Enum):
1616
SUCCESSFUL = "successful"
1717
FAULTED = "faulted"
1818
SUSPENDED = "suspended"
19+
RUNNING = "running"
20+
PENDING = "pending"
1921

2022

2123
class UiPathRuntimeResult(UiPathRuntimeEvent):

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)