Skip to content

Commit 9848d16

Browse files
authored
feat: add is_rooted_to_debug_job property to ConfigurationManager (#1464)
Adds is_rooted_to_debug_job property to ConfigurationManager that reads isDebug from uipath.json's runtime.internalArguments Orchestrator sets this flag for jobs whose root parent is a debug session (e.g. Maestro solution debug) Follows the same pattern as licensing_context (public property wrapping _read_internal_argument)
1 parent 682163c commit 9848d16

5 files changed

Lines changed: 13 additions & 8 deletions

File tree

packages/uipath-platform/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-platform"
3-
version = "0.0.28"
3+
version = "0.0.29"
44
description = "HTTP client library for programmatic access to UiPath Platform"
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"

packages/uipath-platform/src/uipath/platform/common/_config.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,11 @@ def studio_metadata_file_path(self) -> Path:
146146
def licensing_context(self) -> str | None:
147147
return self._read_internal_argument("licensingContext")
148148

149+
@property
150+
def is_rooted_to_debug_job(self) -> bool:
151+
"""Whether this job, which may be a deployed process, is rooted to a debug session (e.g. Maestro solution debug)."""
152+
return self._read_internal_argument("isDebug") is True
153+
149154
@property
150155
def is_tracing_enabled(self) -> bool:
151156
from uipath.platform.common.constants import ENV_TRACING_ENABLED

packages/uipath-platform/uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/uipath/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[project]
22
name = "uipath"
3-
version = "2.10.19"
3+
version = "2.10.20"
44
description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools."
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"
77
dependencies = [
88
"uipath-core>=0.5.2, <0.6.0",
99
"uipath-runtime>=0.9.1, <0.10.0",
10-
"uipath-platform>=0.0.28, <0.1.0",
10+
"uipath-platform>=0.0.29, <0.1.0",
1111
"click>=8.3.1",
1212
"httpx>=0.28.1",
1313
"pyjwt>=2.10.1",

packages/uipath/uv.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)