uipath 2.0.78__py3-none-any.whl → 2.0.79__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.
@@ -63,7 +63,18 @@ class EndpointManager:
63
63
  capabilities_url = f"{base_url.rstrip('/')}/{UiPathEndpoints.AH_CAPABILITIES_ENDPOINT.value}"
64
64
  loggger.debug(f"Checking AgentHub capabilities at {capabilities_url}")
65
65
  response = http_client.get(capabilities_url)
66
- return response.status_code == 200
66
+
67
+ if response.status_code != 200:
68
+ return False
69
+
70
+ capabilities = response.json()
71
+
72
+ # Validate structure and required fields
73
+ if not isinstance(capabilities, dict) or "version" not in capabilities:
74
+ return False
75
+
76
+ return True
77
+
67
78
  except Exception as e:
68
79
  loggger.error(f"Error checking AgentHub capabilities: {e}", exc_info=True)
69
80
  return False
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath
3
- Version: 2.0.78
3
+ Version: 2.0.79
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
@@ -94,9 +94,9 @@ uipath/tracing/_otel_exporters.py,sha256=X7cnuGqvxGbACZuFD2XYTWXwIse8pokOEAjeTPE
94
94
  uipath/tracing/_traced.py,sha256=qeVDrds2OUnpdUIA0RhtF0kg2dlAZhyC1RRkI-qivTM,18528
95
95
  uipath/tracing/_utils.py,sha256=ZeensQexnw69jVcsVrGyED7mPlAU-L1agDGm6_1A3oc,10388
96
96
  uipath/utils/__init__.py,sha256=VD-KXFpF_oWexFg6zyiWMkxl2HM4hYJMIUDZ1UEtGx0,105
97
- uipath/utils/_endpoints_manager.py,sha256=7k3DQUrN-TE7MqPVcASqg_f-Nuu9FrxNzv0wD0LXr0Q,3861
98
- uipath-2.0.78.dist-info/METADATA,sha256=EL02EWvU6BKRXMSPQ2YAdA28c8zkYckJoo0-K953-1E,6462
99
- uipath-2.0.78.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
100
- uipath-2.0.78.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
101
- uipath-2.0.78.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
102
- uipath-2.0.78.dist-info/RECORD,,
97
+ uipath/utils/_endpoints_manager.py,sha256=hiGEu6vyfQJoeiiql6w21TNiG6tADUfXlVBimxPU1-Q,4160
98
+ uipath-2.0.79.dist-info/METADATA,sha256=-IA9o0X_Mz0GMGQX2ky3TGzL1U1CECafBx5Usabr08s,6462
99
+ uipath-2.0.79.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
100
+ uipath-2.0.79.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
101
+ uipath-2.0.79.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
102
+ uipath-2.0.79.dist-info/RECORD,,