Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "uipath"
version = "2.5.39"
version = "2.5.40"
description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools."
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.11"
Expand Down
6 changes: 5 additions & 1 deletion src/uipath/tracing/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class UiPathSpan:
folder_key: Optional[str] = field(
default_factory=lambda: env.get("UIPATH_FOLDER_KEY", "")
)
source: Optional[str] = None
source: Optional[int] = None
span_type: str = "Coded Agents"
process_key: Optional[str] = field(
default_factory=lambda: env.get("UIPATH_PROCESS_UUID")
Expand Down Expand Up @@ -294,6 +294,8 @@ def otel_span_to_uipath_span(
# Top-level fields for internal tracing schema
execution_type = attributes_dict.get("executionType")
agent_version = attributes_dict.get("agentVersion")
reference_id = attributes_dict.get("referenceId")
source = attributes_dict.get("source")

# Create UiPathSpan from OpenTelemetry span
start_time = datetime.fromtimestamp(
Expand Down Expand Up @@ -322,6 +324,8 @@ def otel_span_to_uipath_span(
span_type=span_type,
execution_type=execution_type,
agent_version=agent_version,
reference_id=reference_id,
source=source,
)

@staticmethod
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.