Skip to content

Commit 6a5ace1

Browse files
chore(internal): codegen related update (#188)
1 parent c474f1c commit 6a5ace1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,18 +262,19 @@ can also get all the extra fields on the Pydantic model as a dict with
262262

263263
You can directly override the [httpx client](https://www.python-httpx.org/api/#client) to customize it for your use case, including:
264264

265-
- Support for proxies
266-
- Custom transports
265+
- Support for [proxies](https://www.python-httpx.org/advanced/proxies/)
266+
- Custom [transports](https://www.python-httpx.org/advanced/transports/)
267267
- Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality
268268

269269
```python
270+
import httpx
270271
from onebusaway import OnebusawaySDK, DefaultHttpxClient
271272

272273
client = OnebusawaySDK(
273274
# Or use the `ONEBUSAWAY_SDK_BASE_URL` env var
274275
base_url="http://my.test.server.example.com:8083",
275276
http_client=DefaultHttpxClient(
276-
proxies="http://my.test.proxy.example.com",
277+
proxy="http://my.test.proxy.example.com",
277278
transport=httpx.HTTPTransport(local_address="0.0.0.0"),
278279
),
279280
)

0 commit comments

Comments
 (0)