fix style

This commit is contained in:
Yansong Zhang 2026-04-14 16:24:59 +08:00
parent 68adcfc474
commit 99ef50e6f0

View File

@ -1,8 +1,11 @@
import logging
import time
import uuid
from collections.abc import Sequence
import httpx
logger = logging.getLogger(__name__)
from httpx import DigestAuth
from configs import dify_config
@ -44,7 +47,7 @@ class TidbService:
if host:
return f"https://qdrant-{host}"
except Exception:
pass
logger.exception("Failed to fetch qdrant endpoint for cluster %s", cluster_id)
return None
@staticmethod