Skip to content

Commit e0b92d6

Browse files
authored
Merge pull request #30 from UiPath/fix/subgraph_in_schema
fix: add subgraph in graph node
2 parents 06d0059 + 1a2c76f commit e0b92d6

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "uipath-runtime"
3-
version = "0.0.18"
3+
version = "0.0.19"
44
description = "Runtime abstractions and interfaces for building agents and automation scripts in the UiPath ecosystem"
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"

src/uipath/runtime/schema.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
"""UiPath Runtime Schema Definitions."""
22

3+
from __future__ import annotations
4+
35
from typing import Any
46

57
from pydantic import BaseModel, ConfigDict, Field
@@ -19,6 +21,9 @@ class UiPathRuntimeNode(BaseModel):
1921
id: str = Field(..., description="Unique node identifier")
2022
name: str = Field(..., description="Display name of the node")
2123
type: str = Field(..., description="Node type (e.g., 'tool', 'model')")
24+
subgraph: UiPathRuntimeGraph | None = Field(
25+
None, description="Nested subgraph if this node contains one"
26+
)
2227

2328
model_config = COMMON_MODEL_SCHEMA
2429

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)