feat: add Property binding resource support to SDK#1486
Open
feat: add Property binding resource support to SDK#1486
Conversation
ec509b0 to
2ac470e
Compare
radu-mocanu
reviewed
Mar 25, 2026
packages/uipath-platform/src/uipath/platform/common/_bindings.py
Outdated
Show resolved
Hide resolved
ef6d66a to
f7d2897
Compare
radu-mocanu
reviewed
Mar 26, 2026
packages/uipath-platform/src/uipath/platform/common/_bindings_service.py
Outdated
Show resolved
Hide resolved
radu-mocanu
reviewed
Mar 26, 2026
packages/uipath-platform/src/uipath/platform/common/_bindings_service.py
Outdated
Show resolved
Hide resolved
f7d2897 to
d1caba0
Compare
radu-mocanu
reviewed
Mar 26, 2026
packages/uipath-platform/src/uipath/platform/common/_bindings_service.py
Outdated
Show resolved
Hide resolved
5631f5d to
48d53de
Compare
Adds support for the Property resource type in bindings.json, enabling
users to read connector-defined property values (e.g. SharePoint folder
IDs) without writing custom helpers.
- Extend BindingResourceValue with optional description/propertyName fields
- Add "property" to GenericResourceOverwrite (replaces a separate class)
- Add BindingsService with get_property() that reads from bindings.json
and respects runtime resource overwrites via the existing ContextVar
- Expose sdk.bindings as a cached_property on the UiPath class
- Update bindings.spec.md to document Property as the 7th resource type
- Add unit tests covering file reads, suffix key matching, runtime
overwrites (including Studio-loaded and real runtime payload formats),
and error cases
ResourceOverwriteParser.parse now normalises the Property key prefix
to lowercase ("Property" -> "property") and accepts the real runtime
flat-dict format in addition to the explicit {"values": {...}} form.
Both changes are additive — existing valid inputs are unaffected.
48d53de to
50d184a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Breaking Changes
None. All changes are additive:
ResourceOverwriteParser.parseis strictly more permissive — inputs that previously raised aValidationError(capital-P key prefix, flat value dict) now succeed. All previously valid inputs produce the same result.nameandfolder_pathoptional onGenericResourceOverwriteis backwards compatible — existing callers that supply them are unaffected.PropertyResourceOverwritewas introduced and removed in this same PR, so no external code depends on it.Test plan
Development Packages
uipath
uipath-platform