File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -283,18 +283,19 @@ can also get all the extra fields on the Pydantic model as a dict with
283283
284284You can directly override the [ httpx client] ( https://www.python-httpx.org/api/#client ) to customize it for your use case, including:
285285
286- - Support for proxies
287- - Custom transports
286+ - Support for [ proxies] ( https://www.python-httpx.org/advanced/proxies/ )
287+ - Custom [ transports] ( https://www.python-httpx.org/advanced/transports/ )
288288- Additional [ advanced] ( https://www.python-httpx.org/advanced/clients/ ) functionality
289289
290290``` python
291+ import httpx
291292from dataherald import Dataherald, DefaultHttpxClient
292293
293294client = Dataherald(
294295 # Or use the `DATAHERALD_BASE_URL` env var
295296 base_url = " http://my.test.server.example.com:8083" ,
296297 http_client = DefaultHttpxClient(
297- proxies = " http://my.test.proxy.example.com" ,
298+ proxy = " http://my.test.proxy.example.com" ,
298299 transport = httpx.HTTPTransport(local_address = " 0.0.0.0" ),
299300 ),
300301)
You can’t perform that action at this time.
0 commit comments