Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

feat(MockingOverrides): allow schema overrides for mockable#667

Merged
akshaylive merged 1 commit intomainUiPath/uipath-python:mainfrom
akshaya/mockable_schema_overridesUiPath/uipath-python:akshaya/mockable_schema_overridesCopy head branch name to clipboard
Oct 10, 2025
Merged

feat(MockingOverrides): allow schema overrides for mockable#667
akshaylive merged 1 commit intomainUiPath/uipath-python:mainfrom
akshaya/mockable_schema_overridesUiPath/uipath-python:akshaya/mockable_schema_overridesCopy head branch name to clipboard

Conversation

@akshaylive
Copy link
Collaborator

@akshaylive akshaylive commented Oct 10, 2025

Similar to @tool(args_schema=.., we now support overriding input_schema and output_schema for @mockable functions. This will help with dynamic schemas from resources.

Development Package

  • Add this package as a dependency in your pyproject.toml:
[project]
dependencies = [
  # Exact version:
  "uipath==2.1.79.dev1006671609",

  # Any version from PR
  "uipath>=2.1.79.dev1006670000,<2.1.79.dev1006680000"
]

[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true

[tool.uv.sources]
uipath = { index = "testpypi" }

@github-actions github-actions bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository labels Oct 10, 2025
@akshaylive akshaylive added the build:dev Create a dev build from the pr label Oct 10, 2025
@akshaylive akshaylive enabled auto-merge October 10, 2025 01:55
@akshaylive akshaylive disabled auto-merge October 10, 2025 17:50
Similar to ``@tool(args_schema=..`, we now support overriding `input_schema` and `output_schema`
for `@mockable` functions. This will help with dynamic schemas from resources.
@akshaylive akshaylive force-pushed the akshaya/mockable_schema_overrides branch from d7bb316 to d6ee96d Compare October 10, 2025 17:51
@akshaylive akshaylive enabled auto-merge October 10, 2025 17:52
@akshaylive akshaylive merged commit 10e6abc into main Oct 10, 2025
59 checks passed
@akshaylive akshaylive deleted the akshaya/mockable_schema_overrides branch October 10, 2025 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build:dev Create a dev build from the pr test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.