update and cleanup repo
This commit is contained in:
@@ -33,7 +33,6 @@ except Exception: # pragma: no cover - optional dependency
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
from API.ssl_certs import resolve_verify_value as _resolve_verify_value
|
||||
from API.ssl_certs import get_requests_verify_value
|
||||
from API.httpx_shared import get_shared_httpx_client
|
||||
|
||||
# Default configuration
|
||||
@@ -924,11 +923,6 @@ def download_direct_file(
|
||||
)
|
||||
raise DownloadError(f"Error downloading file: {exc}") from exc
|
||||
|
||||
|
||||
# Back-compat alias
|
||||
_download_direct_file = download_direct_file
|
||||
|
||||
|
||||
class AsyncHTTPClient:
|
||||
"""Unified async HTTP client with asyncio support."""
|
||||
|
||||
|
||||
@@ -101,9 +101,3 @@ def resolve_verify_value(verify_ssl: bool) -> Union[bool, str]:
|
||||
logger.exception("Failed to probe certifi for trust bundle")
|
||||
|
||||
return True
|
||||
|
||||
|
||||
def get_requests_verify_value(verify_ssl: bool = True) -> Union[bool, str]:
|
||||
"""Backwards-friendly alias for call sites that only care about requests."""
|
||||
|
||||
return resolve_verify_value(verify_ssl)
|
||||
|
||||
Reference in New Issue
Block a user