diff --git a/api/services/enterprise/base.py b/api/services/enterprise/base.py index 10663067a3..312b434a10 100644 --- a/api/services/enterprise/base.py +++ b/api/services/enterprise/base.py @@ -66,7 +66,7 @@ class BaseRequest: continue headers[key] = value url = f"{cls.base_url}{endpoint}" - mounts = cls._build_mounts() + # mounts = cls._build_mounts() try: # ensure traceparent even when OTEL is disabled @@ -76,7 +76,7 @@ class BaseRequest: except Exception: logger.debug("Failed to generate traceparent header", exc_info=True) - with httpx.Client(mounts=mounts) as client: + with httpx.Client() as client: # IMPORTANT: # - In httpx, passing timeout=None disables timeouts (infinite) and overrides the library default. # - To preserve httpx's default timeout behavior for existing call sites, only pass the kwarg when set. diff --git a/api/services/enterprise/rbac_service.py b/api/services/enterprise/rbac_service.py index f9e589571b..cc732f1e99 100644 --- a/api/services/enterprise/rbac_service.py +++ b/api/services/enterprise/rbac_service.py @@ -916,7 +916,7 @@ class RBACService: policy_id: str, payload: ReplaceBindings, ) -> AccessMatrixItem: - logger.info(f"replace app bindings {policy_id} {payload}") + logger.info(f"replace app bindings {_INNER_PREFIX}/workspace/apps/access-policy/bindings {policy_id} {payload}") data = _inner_call( "PUT", f"{_INNER_PREFIX}/workspace/apps/access-policy/bindings",