Commit 4c197fd
docs: clarify caller-defined helpers + add send() pointer
Code-quality review on the Response metadata + typed body subsection
flagged that the example used undefined names without acknowledgment
and the closing "when to use what" list skipped the build_request
+ body-only case. This fixes both:
- One-line note above the example: process/next_link are caller-defined
- Adds a sentence pointing readers at client.send(request, response_model=)
as the body-only alternative when they need a custom Request
- "Link-header" -> "Link header" to match RFC 5988 terminology
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3c27dd8 commit 4c197fd
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
| |||
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
116 | | - | |
| 118 | + | |
| 119 | + | |
117 | 120 | | |
118 | 121 | | |
119 | 122 | | |
| |||
0 commit comments