MCPcopy Create free account
hub / github.com/binance/binance-connector-python / parse_proxies

Function parse_proxies

common/src/binance_common/utils.py:621–646  ·  view source on GitHub ↗

Parses proxy settings and returns a `requests`-compatible format. Args: proxy (Optional[Dict[str, Union[str, int, Dict[str, str]]]]): Proxy configuration dictionary. Returns: Optional[Dict[str, str]]: A dictionary with formatted proxy URLs for HTTP and HTTPS.

(
    proxy: Optional[Dict[str, Union[str, int, Dict[str, str]]]],
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls

no outgoing calls