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-platform/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "uipath-platform"
version = "0.0.16"
version = "0.0.17"
description = "HTTP client library for programmatic access to UiPath Platform"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.11"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1911,7 +1911,6 @@ def _deep_rag_retrieve_spec(
endpoint=Endpoint(f"/ecs_/v2/deeprag/{id}"),
params={
"$expand": "content",
"$select": "id,content,name,createdDate,lastDeepRagStatus,failureReason",
},
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,7 @@ def test_retrieve_deep_rag(
) -> None:
citation = Citation(ordinal=1, page_number=1, source="abc", reference="abc")
httpx_mock.add_response(
url=f"{base_url}{org}{tenant}/ecs_/v2/deeprag/test-task-id?$expand=content&$select=id,content,name,createdDate,lastDeepRagStatus,failureReason",
url=f"{base_url}{org}{tenant}/ecs_/v2/deeprag/test-task-id?$expand=content",
status_code=200,
json={
"id": "test-task-id",
Expand Down Expand Up @@ -1358,7 +1358,7 @@ def test_retrieve_deep_rag(
assert sent_requests[0].method == "GET"
assert (
sent_requests[0].url
== f"{base_url}{org}{tenant}/ecs_/v2/deeprag/test-task-id?%24expand=content&%24select=id%2Ccontent%2Cname%2CcreatedDate%2ClastDeepRagStatus%2CfailureReason"
== f"{base_url}{org}{tenant}/ecs_/v2/deeprag/test-task-id?%24expand=content"
)

assert HEADER_USER_AGENT in sent_requests[0].headers
Expand All @@ -1380,7 +1380,7 @@ async def test_retrieve_deep_rag_async(
citation = Citation(ordinal=1, page_number=1, source="abc", reference="abc")

httpx_mock.add_response(
url=f"{base_url}{org}{tenant}/ecs_/v2/deeprag/test-task-id?$expand=content&$select=id,content,name,createdDate,lastDeepRagStatus,failureReason",
url=f"{base_url}{org}{tenant}/ecs_/v2/deeprag/test-task-id?$expand=content",
status_code=200,
json={
"id": "test-task-id",
Expand Down Expand Up @@ -1412,7 +1412,7 @@ async def test_retrieve_deep_rag_async(
assert sent_requests[0].method == "GET"
assert (
sent_requests[0].url
== f"{base_url}{org}{tenant}/ecs_/v2/deeprag/test-task-id?%24expand=content&%24select=id%2Ccontent%2Cname%2CcreatedDate%2ClastDeepRagStatus%2CfailureReason"
== f"{base_url}{org}{tenant}/ecs_/v2/deeprag/test-task-id?%24expand=content"
)

assert HEADER_USER_AGENT in sent_requests[0].headers
Expand Down
2 changes: 1 addition & 1 deletion packages/uipath-platform/uv.lock

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