Skip to content

Commit 7d6bba0

Browse files
committed
feat: add system resources resolution support
1 parent c6e678e commit 7d6bba0

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/uipath/_cli/_utils/_studio_project.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,6 @@ async def try_add_system_index(binding_resource: BindingResource) -> None:
607607
match binding_resource.resource:
608608
case "index":
609609
await try_add_system_index(binding_resource)
610-
break
611610
# can be extended for other system resources
612611

613612
return overwrites

tests/resource_overrides/test_resource_overrides.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
from uipath._cli import cli
1515
from uipath._utils._bindings import ResourceOverwriteParser
16+
from uipath.platform.common import UiPathConfig
1617

1718

1819
@pytest.fixture
@@ -404,6 +405,8 @@ async def test_get_resource_overwrites_resolves_system_index_from_bindings(
404405
from uipath._cli._utils._studio_project import StudioClient
405406
from uipath._utils._bindings import SystemResourceOverwrite
406407

408+
UiPathConfig.studio_solution_id = None
409+
407410
with patch.dict(
408411
os.environ,
409412
{

0 commit comments

Comments
 (0)