Skip to content

Commit ea1a885

Browse files
committed
fix(httpx): fix httpx proxy
1 parent 6aa1688 commit ea1a885

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "uipath"
3-
version = "2.0.77"
3+
version = "2.0.78"
44
description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools."
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.10"

src/uipath/utils/_endpoints_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from enum import Enum
44
from typing import Optional
55

6-
import httpx
6+
from uipath._utils._ssl_context import get_httpx_client_kwargs
77

88
loggger = logging.getLogger(__name__)
99

@@ -56,7 +56,7 @@ def is_agenthub_available(cls) -> bool:
5656
def _check_agenthub(cls) -> bool:
5757
"""Perform the actual check for AgentHub capabilities."""
5858
try:
59-
with httpx.Client() as http_client:
59+
with get_httpx_client_kwargs() as http_client:
6060
base_url = os.getenv("UIPATH_URL", "")
6161
capabilities_url = f"{base_url.rstrip('/')}/{UiPathEndpoints.AH_CAPABILITIES_ENDPOINT.value}"
6262
loggger.debug(f"Checking AgentHub capabilities at {capabilities_url}")

0 commit comments

Comments
 (0)