Skip to content

Commit b81f3a1

Browse files
authored
Merge pull request #32 from UiPath/fix/uipath_context_trace_manager
fix: add trace_manager to context
2 parents b93a573 + f7d68ee commit b81f3a1

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-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.20"
3+
version = "0.0.21"
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/context.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from typing import Any
99

1010
from pydantic import BaseModel, ConfigDict
11+
from uipath.core.tracing import UiPathTraceManager
1112

1213
from uipath.runtime.errors import (
1314
UiPathErrorCategory,
@@ -27,6 +28,7 @@ class UiPathRuntimeContext(BaseModel):
2728
entrypoint: str | None = None
2829
input: str | None = None
2930
resume: bool = False
31+
command: str | None = None
3032
job_id: str | None = None
3133
tenant_id: str | None = None
3234
org_id: str | None = None
@@ -42,6 +44,7 @@ class UiPathRuntimeContext(BaseModel):
4244
logs_file: str | None = "execution.log"
4345
logs_min_level: str | None = "INFO"
4446
result: UiPathRuntimeResult | None = None
47+
trace_manager: UiPathTraceManager | None = None
4548

4649
model_config = ConfigDict(arbitrary_types_allowed=True, extra="allow")
4750

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)