We’ve added support for configuring proxy servers in the generated Python SDKs.
This enhancement enables API requests to be routed through custom proxy servers, making it easier to work within corporate networks, behind firewalls, or in environments where outbound connections must go through a proxy.
What's New?
In many enterprise and secure environments, direct internet access is restricted. With this update, the SDKs now support proxy configuration, allowing you to route requests through a specified proxy server.
Developers can now set up proxy settings during SDK client initialization:
Applying Proxy Settings
Configure proxy settings using the ProxySettings
instance with properties including address, port, username, and password:
client = Client(
proxy_settings=ProxySettings(
address='http://localhost',
port=8080,
username='admin',
password='password123'
)
)
Available Settings
- address — The full address of the proxy server.
- port — The port on which the proxy server is listening.
- username — The username for proxy authentication.
- password — The password for proxy authentication.
Learn more about proxy configuration feature
Proxy configuration is also available in other SDKs: