Skip to content

Commit 32244ac

Browse files
committed
Explain how to use a custom client
1 parent e9d6509 commit 32244ac

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,11 @@ print(json.dumps(response, indent=2))
303303
> In the above example, the simpler approach is to use
304304
> `notion.comments.create()`.
305305
306+
Another customization you can make is to pass your own `httpx.Client` or
307+
`httpx.AsyncClient` to the `Client` or `AsyncClient` constructor. This might be
308+
helpful for some execution environments where the default HTTPX client isn't
309+
suitable.
310+
306311
## Testing
307312

308313
Run the tests with the `pytest` command. If you want to test against all Python

0 commit comments

Comments
 (0)