Skip to content

Commit c9b8d06

Browse files
authored
Merge pull request #322 from UiPath/feat/app-filter
feat: filter app schemas by deployment name
2 parents b3dd73f + 5622cbf commit c9b8d06

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
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.2.31"
3+
version = "2.2.32"
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"

src/uipath/platform/action_center/_tasks_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def _retrieve_app_key_spec(app_name: str) -> RequestSpec:
131131
return RequestSpec(
132132
method="GET",
133133
endpoint=Endpoint("/apps_/default/api/v1/default/deployed-action-apps-schemas"),
134-
params={"search": app_name},
134+
params={"search": app_name, "filterByDeploymentTitle": "true"},
135135
headers={HEADER_TENANT_ID: tenant_id},
136136
)
137137

tests/resource_overrides/test_resource_overrides.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def _mock_calls(
8484
# Mock Actions API - need to mock app retrieval first
8585
# First mock the app schema retrieval
8686
httpx_mock.add_response(
87-
url=f"{org_scoped_base_url}/apps_/default/api/v1/default/deployed-action-apps-schemas?search=Overwritten App Name",
87+
url=f"{org_scoped_base_url}/apps_/default/api/v1/default/deployed-action-apps-schemas?search=Overwritten App Name&filterByDeploymentTitle=true",
8888
method="GET",
8989
json={
9090
"deployed": [

tests/sdk/services/test_actions_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def test_create_with_assignee(
136136
monkeypatch.setenv("UIPATH_TENANT_ID", "test-tenant-id")
137137

138138
httpx_mock.add_response(
139-
url=f"{base_url}{org}/apps_/default/api/v1/default/deployed-action-apps-schemas?search=test-app",
139+
url=f"{base_url}{org}/apps_/default/api/v1/default/deployed-action-apps-schemas?search=test-app&filterByDeploymentTitle=true",
140140
status_code=200,
141141
json={
142142
"deployed": [

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)