uipath 2.1.45__py3-none-any.whl → 2.1.46__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- uipath/_cli/_runtime/_contracts.py +7 -2
- {uipath-2.1.45.dist-info → uipath-2.1.46.dist-info}/METADATA +1 -1
- {uipath-2.1.45.dist-info → uipath-2.1.46.dist-info}/RECORD +6 -6
- {uipath-2.1.45.dist-info → uipath-2.1.46.dist-info}/WHEEL +0 -0
- {uipath-2.1.45.dist-info → uipath-2.1.46.dist-info}/entry_points.txt +0 -0
- {uipath-2.1.45.dist-info → uipath-2.1.46.dist-info}/licenses/LICENSE +0 -0
@@ -326,17 +326,22 @@ class UiPathRuntimeContext(BaseModel):
|
|
326
326
|
|
327
327
|
base = cls.from_config(resolved_config_path)
|
328
328
|
|
329
|
+
bool_map = {"true": True, "false": False}
|
330
|
+
tracing_enabled = os.environ.get("UIPATH_TRACING_ENABLED", True)
|
331
|
+
if isinstance(tracing_enabled, str) and tracing_enabled.lower() in bool_map:
|
332
|
+
tracing_enabled = bool_map[tracing_enabled.lower()]
|
333
|
+
|
329
334
|
# Apply defaults from env
|
330
335
|
base.job_id = os.environ.get("UIPATH_JOB_KEY")
|
331
336
|
base.trace_id = os.environ.get("UIPATH_TRACE_ID")
|
332
|
-
base.tracing_enabled =
|
337
|
+
base.tracing_enabled = tracing_enabled
|
333
338
|
base.logs_min_level = os.environ.get("LOG_LEVEL", "INFO")
|
334
339
|
|
335
340
|
base.trace_context = UiPathTraceContext(
|
336
341
|
trace_id=os.environ.get("UIPATH_TRACE_ID"),
|
337
342
|
parent_span_id=os.environ.get("UIPATH_PARENT_SPAN_ID"),
|
338
343
|
root_span_id=os.environ.get("UIPATH_ROOT_SPAN_ID"),
|
339
|
-
enabled=
|
344
|
+
enabled=tracing_enabled,
|
340
345
|
job_id=os.environ.get("UIPATH_JOB_KEY"),
|
341
346
|
org_id=os.environ.get("UIPATH_ORGANIZATION_ID"),
|
342
347
|
tenant_id=os.environ.get("UIPATH_TENANT_ID"),
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: uipath
|
3
|
-
Version: 2.1.
|
3
|
+
Version: 2.1.46
|
4
4
|
Summary: Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools.
|
5
5
|
Project-URL: Homepage, https://uipath.com
|
6
6
|
Project-URL: Repository, https://github.com/UiPath/uipath-python
|
@@ -59,7 +59,7 @@ uipath/_cli/_evals/_models/_agent_execution_output.py,sha256=llvApU4JkTnNgQ5DvHP
|
|
59
59
|
uipath/_cli/_evals/_models/_evaluation_set.py,sha256=tVHykSget-G3sOCs9bSchMYUTpFqzXVlYYbY8L9SI0c,1518
|
60
60
|
uipath/_cli/_evals/_models/_evaluators.py,sha256=l57NEVyYmzSKuoIXuGkE94Br01hAMg35fiS2MlTkaQM,2115
|
61
61
|
uipath/_cli/_push/sw_file_handler.py,sha256=AX4TKM-q6CNGw3JyBW02M8ktPZuFMcAU9LN3Ii0Q2QI,18202
|
62
|
-
uipath/_cli/_runtime/_contracts.py,sha256=
|
62
|
+
uipath/_cli/_runtime/_contracts.py,sha256=iAjrYaKS4y4unaNnwiCityfvWMg15f7quNn32f6LFkU,28406
|
63
63
|
uipath/_cli/_runtime/_escalation.py,sha256=x3vI98qsfRA-fL_tNkRVTFXioM5Gv2w0GFcXJJ5eQtg,7981
|
64
64
|
uipath/_cli/_runtime/_hitl.py,sha256=VKbM021nVg1HEDnTfucSLJ0LsDn83CKyUtVzofS2qTU,11369
|
65
65
|
uipath/_cli/_runtime/_logging.py,sha256=MGklGKPjYKjs7J5Jy9eplA9zCDsdtEbkZdCbTwgut_4,8311
|
@@ -145,8 +145,8 @@ uipath/tracing/_traced.py,sha256=qeVDrds2OUnpdUIA0RhtF0kg2dlAZhyC1RRkI-qivTM,185
|
|
145
145
|
uipath/tracing/_utils.py,sha256=wJRELaPu69iY0AhV432Dk5QYf_N_ViRU4kAUG1BI1ew,10384
|
146
146
|
uipath/utils/__init__.py,sha256=VD-KXFpF_oWexFg6zyiWMkxl2HM4hYJMIUDZ1UEtGx0,105
|
147
147
|
uipath/utils/_endpoints_manager.py,sha256=iRTl5Q0XAm_YgcnMcJOXtj-8052sr6jpWuPNz6CgT0Q,8408
|
148
|
-
uipath-2.1.
|
149
|
-
uipath-2.1.
|
150
|
-
uipath-2.1.
|
151
|
-
uipath-2.1.
|
152
|
-
uipath-2.1.
|
148
|
+
uipath-2.1.46.dist-info/METADATA,sha256=Qga422Nhs3DwhXAFzumjkUsV3Gxz2LgpEc4Vr_TqDgQ,6482
|
149
|
+
uipath-2.1.46.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
150
|
+
uipath-2.1.46.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
|
151
|
+
uipath-2.1.46.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
|
152
|
+
uipath-2.1.46.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|