Skip to content

Commit 34c26d2

Browse files
authored
📝 format docs
1 parent a5bf529 commit 34c26d2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/usage/getting-started/configuration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ github = GitHub(transport=httpx.MockTransport(mock_handler))
172172

173173
Register [HTTPX event hooks](https://www.python-httpx.org/advanced/event-hooks/) that run on every request and/or response. This is useful for logging, injecting headers, collecting metrics, or raising on error status codes — without modifying your business logic.
174174

175-
| Option | Hook signatures | Used for |
176-
| ------------------- | ------------------------------------------- | -------------- |
177-
| `event_hooks` | `def hook(request)` / `def hook(response)` | Sync requests |
175+
| Option | Hook signatures | Used for |
176+
| ------------------- | ------------------------------------------------------ | -------------- |
177+
| `event_hooks` | `def hook(request)` / `def hook(response)` | Sync requests |
178178
| `async_event_hooks` | `async def hook(request)` / `async def hook(response)` | Async requests |
179179

180180
Both options accept a dictionary mapping event names (`"request"`, `"response"`) to a list of callables. Each callable receives an `httpx.Request` or `httpx.Response` object respectively.

docs/usage/getting-started/reusing-client.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ githubkit manages an underlying [HTTPX](https://www.python-httpx.org/) client fo
66

77
!!! warning
88

9-
We strongly recommend **using the context manager** for any workload that makes multiple API calls or long running processes. Repeatedly creating new HTTP clients may lead to **memory leaks**.
9+
We strongly recommend **using the context manager** for any workload that makes multiple API calls or long running processes. Repeatedly creating new HTTP clients may lead to **memory leaks**.
1010

1111
## Using the Context Manager
1212

0 commit comments

Comments
 (0)