File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -379,18 +379,19 @@ can also get all the extra fields on the Pydantic model as a dict with
379
379
380
380
You can directly override the [ httpx client] ( https://www.python-httpx.org/api/#client ) to customize it for your use case, including:
381
381
382
- - Support for proxies
383
- - Custom transports
382
+ - Support for [ proxies] ( https://www.python-httpx.org/advanced/proxies/ )
383
+ - Custom [ transports] ( https://www.python-httpx.org/advanced/transports/ )
384
384
- Additional [ advanced] ( https://www.python-httpx.org/advanced/clients/ ) functionality
385
385
386
386
``` python
387
+ import httpx
387
388
from finch import Finch, DefaultHttpxClient
388
389
389
390
client = Finch(
390
391
# Or use the `FINCH_BASE_URL` env var
391
392
base_url = " http://my.test.server.example.com:8083" ,
392
393
http_client = DefaultHttpxClient(
393
- proxies = " http://my.test.proxy.example.com" ,
394
+ proxy = " http://my.test.proxy.example.com" ,
394
395
transport = httpx.HTTPTransport(local_address = " 0.0.0.0" ),
395
396
),
396
397
)
You can’t perform that action at this time.
0 commit comments