Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/uipath/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "uipath"
version = "2.14.30"
version = "2.14.31"
description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools."
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.11"
Expand Down
14 changes: 14 additions & 0 deletions packages/uipath/src/uipath/_cli/_job_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,15 @@
logLevel: int = LogLevel.INFORMATION.value


@dataclass
class PythonUserAccessTokenRequestDto:
"""A token request; field names are the wire keys (do not rename)."""

jobKey: str

Check warning on line 71 in packages/uipath/src/uipath/_cli/_job_api.py

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Rename this field "jobKey" to match the regular expression ^[_a-z][_a-z0-9]*$.

See more on https://sonarcloud.io/project/issues?id=UiPath_uipath-python&issues=AaDoamvr_bdRKEPHiurX&open=AaDoamvr_bdRKEPHiurX&pullRequest=1915
resumeVersion: int | None = None

Check warning on line 72 in packages/uipath/src/uipath/_cli/_job_api.py

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Rename this field "resumeVersion" to match the regular expression ^[_a-z][_a-z0-9]*$.

See more on https://sonarcloud.io/project/issues?id=UiPath_uipath-python&issues=AaDoamvr_bdRKEPHiurY&open=AaDoamvr_bdRKEPHiurY&pullRequest=1915
scopes: str | None = None
Comment on lines +68 to +73


@dataclass
class JobExecutorError:
"""A result error; field names are the wire keys (do not rename)."""
Expand Down Expand Up @@ -99,6 +108,11 @@
async def SetResult(self, result: PythonJobResultDto) -> bool:
"""Submit the final result."""

# Not abstract, so existing implementers still instantiate; the IPC proxy never runs the body.
async def GetUserAccessToken(self, request: PythonUserAccessTokenRequestDto) -> str:
"""Request a user access token for the job; empty scopes means the job's default scopes."""
raise NotImplementedError
Comment on lines +112 to +114


def _to_log_level(levelno: int) -> int:
if levelno >= logging.CRITICAL:
Expand Down
2 changes: 1 addition & 1 deletion packages/uipath/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading