Skip to content

Commit 0a4309b

Browse files
authored
fix: allow both int and str for unifiedsearch item id field (#1482)
1 parent e395d37 commit 0a4309b

4 files changed

Lines changed: 7 additions & 4 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.4"
3+
version = "0.1.5"
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/context_grounding/context_grounding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ class ContextGroundingSearchResultItem(BaseModel):
221221
arbitrary_types_allowed=True,
222222
extra="allow",
223223
)
224-
id: Optional[str] = Field(default=None, alias="id")
224+
id: Optional[str | int] = Field(default=None, alias="id")
225225
content: str = Field(alias="content")
226226
source: str = Field(alias="source")
227227
page_number: int | str = Field(alias="page_number")

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/uv.lock

Lines changed: 4 additions & 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)