Skip to content

Conversation

@radu-mocanu
Copy link
Contributor

  • wrap output str primitive

@radu-mocanu radu-mocanu self-assigned this Dec 15, 2025
Copilot AI review requested due to automatic review settings December 15, 2025 10:26
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds special handling for string primitives in runtime results by wrapping them in a dictionary before output serialization. The version is bumped from 0.2.8 to 0.2.9.

Key Changes:

  • String output values are now wrapped in {"output": <string_value>} format in the to_dict() method
  • Test coverage added to verify string wrapping behavior
  • Version updated across project configuration files

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.

File Description
src/uipath/runtime/result.py Adds conditional logic to wrap string outputs in a dictionary with key 'output'
tests/test_context.py Adds test case verifying that string outputs are properly wrapped in a dictionary
pyproject.toml Updates package version from 0.2.8 to 0.2.9
uv.lock Updates locked version from 0.2.8 to 0.2.9

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@radu-mocanu radu-mocanu merged commit c247ae7 into main Dec 15, 2025
17 checks passed
@cristipufu cristipufu deleted the fix/wrap-output-primitives branch December 15, 2025 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants