uipath 2.1.96__py3-none-any.whl → 2.1.97__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.
@@ -1,6 +1,5 @@
1
1
  import logging
2
2
  import os
3
- import re
4
3
  from enum import Enum
5
4
  from typing import Optional
6
5
 
@@ -148,20 +147,17 @@ class EndpointManager:
148
147
  return gw.value
149
148
 
150
149
  # Determine fallback order based on environment hints
151
- uipath_url = os.getenv("UIPATH_URL", "")
152
150
  hdens_env = os.getenv("HDENS_ENV", "").lower()
153
151
 
154
- is_cloud_url = re.match(r"https?://[^/]+\.uipath\.com", uipath_url)
155
-
156
152
  # Default order: AgentHub -> Orchestrator
157
153
  check_order = [
158
154
  ("ah", ah, cls.is_agenthub_available),
159
155
  ("orc", orc, cls.is_orchestrator_available),
160
156
  ]
161
157
 
162
- # Prioritize Orchestrator if HDENS_ENV is 'sf' or url is cloud-based
158
+ # Prioritize Orchestrator if HDENS_ENV is 'sf'
163
159
  # Note: The default order already prioritizes AgentHub
164
- if hdens_env == "sf" or is_cloud_url:
160
+ if hdens_env == "sf":
165
161
  check_order.reverse()
166
162
 
167
163
  # Execute fallback checks in the determined order
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath
3
- Version: 2.1.96
3
+ Version: 2.1.97
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
@@ -185,10 +185,10 @@ uipath/tracing/_otel_exporters.py,sha256=c0GKU_oUrAwrOrqbyu64c55z1TR6xk01d3y5fLU
185
185
  uipath/tracing/_traced.py,sha256=yBIY05PCCrYyx50EIHZnwJaKNdHPNx-YTR1sHQl0a98,19901
186
186
  uipath/tracing/_utils.py,sha256=X-LFsyIxDeNOGuHPvkb6T5o9Y8ElYhr_rP3CEBJSu4s,13837
187
187
  uipath/utils/__init__.py,sha256=VD-KXFpF_oWexFg6zyiWMkxl2HM4hYJMIUDZ1UEtGx0,105
188
- uipath/utils/_endpoints_manager.py,sha256=iRTl5Q0XAm_YgcnMcJOXtj-8052sr6jpWuPNz6CgT0Q,8408
188
+ uipath/utils/_endpoints_manager.py,sha256=tnF_FiCx8qI2XaJDQgYkMN_gl9V0VqNR1uX7iawuLp8,8230
189
189
  uipath/utils/dynamic_schema.py,sha256=w0u_54MoeIAB-mf3GmwX1A_X8_HDrRy6p998PvX9evY,3839
190
- uipath-2.1.96.dist-info/METADATA,sha256=gZyU4LdfMfH8j7FhBuTmNm-aW99mU9snEQslFAb1w2g,6625
191
- uipath-2.1.96.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
192
- uipath-2.1.96.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
193
- uipath-2.1.96.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
194
- uipath-2.1.96.dist-info/RECORD,,
190
+ uipath-2.1.97.dist-info/METADATA,sha256=VSSHUv-YMKThR9fS26EnbcZhKRMP-o0omZVgfeEepTM,6625
191
+ uipath-2.1.97.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
192
+ uipath-2.1.97.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
193
+ uipath-2.1.97.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
194
+ uipath-2.1.97.dist-info/RECORD,,