File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -397,18 +397,19 @@ can also get all the extra fields on the Pydantic model as a dict with
397397
398398You can directly override the [ httpx client] ( https://www.python-httpx.org/api/#client ) to customize it for your use case, including:
399399
400- - Support for proxies
401- - Custom transports
400+ - Support for [ proxies] ( https://www.python-httpx.org/advanced/proxies/ )
401+ - Custom [ transports] ( https://www.python-httpx.org/advanced/transports/ )
402402- Additional [ advanced] ( https://www.python-httpx.org/advanced/clients/ ) functionality
403403
404404``` python
405+ import httpx
405406from orb import Orb, DefaultHttpxClient
406407
407408client = Orb(
408409 # Or use the `ORB_BASE_URL` env var
409410 base_url = " http://my.test.server.example.com:8083" ,
410411 http_client = DefaultHttpxClient(
411- proxies = " http://my.test.proxy.example.com" ,
412+ proxy = " http://my.test.proxy.example.com" ,
412413 transport = httpx.HTTPTransport(local_address = " 0.0.0.0" ),
413414 ),
414415)
You can’t perform that action at this time.
0 commit comments