Skip to content

Commit 0092c87

Browse files
fix: create trigger sends empty strings instead of None (#1471)
1 parent 2c18dfa commit 0092c87

6 files changed

Lines changed: 9 additions & 9 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.1.0"
3+
version = "0.1.1"
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/resume_triggers/_protocol.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -595,8 +595,8 @@ async def _handle_task_trigger(
595595
action = await uipath.tasks.create_async(
596596
title=value.title,
597597
app_name=value.app_name if value.app_name else "",
598-
app_folder_path=value.app_folder_path if value.app_folder_path else "",
599-
app_folder_key=value.app_folder_key if value.app_folder_key else "",
598+
app_folder_path=value.app_folder_path or None,
599+
app_folder_key=value.app_folder_key or None,
600600
app_key=value.app_key if value.app_key else "",
601601
assignee=value.assignee if value.assignee else "",
602602
recipient=value.recipient if value.recipient else "",

packages/uipath-platform/tests/services/test_hitl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ async def test_create_resume_trigger_create_task(
11261126
title=create_action.title,
11271127
app_name=create_action.app_name,
11281128
app_folder_path=create_action.app_folder_path,
1129-
app_folder_key="",
1129+
app_folder_key=None,
11301130
app_key="",
11311131
assignee="",
11321132
recipient="",

packages/uipath-platform/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.

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.21"
3+
version = "2.10.22"
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.1.0, <0.2.0",
10+
"uipath-platform>=0.1.1, <0.2.0",
1111
"click>=8.3.1",
1212
"httpx>=0.28.1",
1313
"pyjwt>=2.10.1",

packages/uipath/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.

0 commit comments

Comments
 (0)