From 2613a17246465679fca48aea21e94ee4f51a8095 Mon Sep 17 00:00:00 2001 From: ionmincu Date: Mon, 7 Jul 2025 18:30:54 +0300 Subject: [PATCH] fix(trace): add back folder keys in traces --- pyproject.toml | 4 ++-- src/uipath/tracing/_utils.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a009fbd7..ecfa0af4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "uipath" -version = "2.1.22" +version = "2.1.23" 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.10" @@ -15,7 +15,7 @@ dependencies = [ "pathlib>=1.0.1", "rich>=13.0.0", "azure-monitor-opentelemetry>=1.6.8", - "truststore>=0.10.1" + "truststore>=0.10.1", ] classifiers = [ "Development Status :: 3 - Alpha", diff --git a/src/uipath/tracing/_utils.py b/src/uipath/tracing/_utils.py index 654a4a3b..124666a4 100644 --- a/src/uipath/tracing/_utils.py +++ b/src/uipath/tracing/_utils.py @@ -37,7 +37,7 @@ class UiPathSpan: ) expiry_time_utc: Optional[str] = None folder_key: Optional[str] = field( - default_factory=lambda: env.get("UIPATH_FOLDER_KEY_XYZ", "") + default_factory=lambda: env.get("UIPATH_FOLDER_KEY", "") ) source: Optional[str] = None span_type: str = "Coded Agents"