Skip to content

Commit 6b3ac1a

Browse files
committed
feat: add folder info in resume trigger contract
1 parent 7c1f325 commit 6b3ac1a

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-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"
3-
version = "2.0.7"
3+
version = "2.0.8"
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.10"

src/uipath/_cli/_runtime/_contracts.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ class UiPathResumeTrigger(BaseModel):
4646
)
4747
item_key: Optional[str] = Field(default=None, alias="itemKey")
4848
api_resume: Optional[UiPathApiTrigger] = Field(default=None, alias="apiResume")
49+
folder_path: Optional[str] = Field(default=None, alias="folderPath")
50+
folder_key: Optional[str] = Field(default=None, alias="folderKey")
51+
payload: Optional[Any] = Field(default=None, alias="interruptObject")
4952

5053
model_config = {"populate_by_name": True}
5154

src/uipath/models/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@
44
from .connections import Connection, ConnectionToken
55
from .context_grounding import ContextGroundingQueryResponse
66
from .exceptions import IngestionInProgressException
7-
from .interrupt_models import CreateAction, InvokeProcess, WaitAction, WaitJob
7+
from .interrupt_models import (
8+
CreateAction,
9+
InvokeProcess,
10+
Serializable,
11+
WaitAction,
12+
WaitJob,
13+
)
814
from .job import Job
915
from .processes import Process
1016
from .queues import (

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)