Merged
Conversation
f4faa14 to
7f12de4
Compare
There was a problem hiding this comment.
Pull request overview
This PR adds three schema generation helper functions to the runtime module and bumps the version from 0.4.0 to 0.4.1. The new utilities help process JSON schemas by resolving references, handling nullable types, and transforming UiPath attachment definitions.
Changes:
- Added
resolve_refsto recursively resolve$refobjects in JSON schemas with circular reference detection - Added
process_nullable_typesto handleanyOfpatterns with null types - Added
transform_attachment_refsto convert UiPathAttachment schema objects into standardized$refdefinitions - Version bump from 0.4.0 to 0.4.1 in both pyproject.toml and uv.lock
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 12 comments.
| File | Description |
|---|---|
| src/uipath/runtime/schema.py | Added three new schema processing functions with helper and updated exports |
| tests/test_schema.py | Added comprehensive test suite for transform_attachment_refs and basic integration test for resolve_refs/process_nullable_types |
| pyproject.toml | Version bumped to 0.4.1 |
| uv.lock | Version bumped to 0.4.1 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
7f12de4 to
d920f7d
Compare
cristipufu
reviewed
Jan 13, 2026
Member
cristipufu
left a comment
There was a problem hiding this comment.
we should have consistent naming for these methods
214abb2 to
387457f
Compare
cristipufu
approved these changes
Jan 13, 2026
387457f to
a611555
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.
transform_refs -> resolves recursively
$refobjectstransform_nullable_types -> handle
anyOftypestransform_attachment -> scans the schema for attachments objects (UiPathAttachment title) and replaces them with expected
job_attachment_definition