-
Notifications
You must be signed in to change notification settings - Fork 1
fix: add trace_manager to context #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,6 +8,7 @@ | |
| from typing import Any | ||
|
|
||
| from pydantic import BaseModel, ConfigDict | ||
| from uipath.core.tracing import UiPathTraceManager | ||
|
|
||
| from uipath.runtime.errors import ( | ||
| UiPathErrorCategory, | ||
|
|
@@ -27,6 +28,7 @@ class UiPathRuntimeContext(BaseModel): | |
| entrypoint: str | None = None | ||
| input: str | None = None | ||
| resume: bool = False | ||
| command: str | None = None | ||
| job_id: str | None = None | ||
| tenant_id: str | None = None | ||
| org_id: str | None = None | ||
|
|
@@ -42,6 +44,7 @@ class UiPathRuntimeContext(BaseModel): | |
| logs_file: str | None = "execution.log" | ||
| logs_min_level: str | None = "INFO" | ||
| result: UiPathRuntimeResult | None = None | ||
| trace_manager: UiPathTraceManager | None = None | ||
|
||
|
|
||
| model_config = ConfigDict(arbitrary_types_allowed=True, extra="allow") | ||
|
|
||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The newly added
commandfield lacks test coverage. Consider adding a test case that verifies this field can be set and retrieved correctly, similar to how other context fields likejob_id,tenant_id, orentrypointare used in the existing tests.