Commit fc7de8b
docs: address second Copilot review on #729
Two findings:
1. The Factory date-time gap rationale was in YAML comments, which
OpenAPI / JSON Schema consumers discard at parse time — generated
docstrings and downstream tooling never saw it. Moved the wire-vs-
spec note into the ``description`` fields for
``default_so_delivery_time`` / ``default_po_lead_time`` so it
propagates into the regenerated client.
2. ``_convert_nested_value``'s docstring still said unregistered attrs
objects are "returned as-is", but the new behavior falls back to
``value.to_dict()`` when available. Rewrote the ``Note:`` block so
callers know what conversion guarantees they actually get.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 043acd9 commit fc7de8b
3 files changed
Lines changed: 34 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10190 | 10190 | | |
10191 | 10191 | | |
10192 | 10192 | | |
10193 | | - | |
10194 | | - | |
10195 | | - | |
10196 | | - | |
10197 | 10193 | | |
10198 | 10194 | | |
10199 | 10195 | | |
10200 | 10196 | | |
10201 | | - | |
| 10197 | + | |
| 10198 | + | |
| 10199 | + | |
| 10200 | + | |
| 10201 | + | |
10202 | 10202 | | |
10203 | 10203 | | |
10204 | 10204 | | |
10205 | 10205 | | |
10206 | | - | |
| 10206 | + | |
| 10207 | + | |
| 10208 | + | |
| 10209 | + | |
| 10210 | + | |
10207 | 10211 | | |
10208 | 10212 | | |
10209 | 10213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
257 | | - | |
258 | | - | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
259 | 264 | | |
260 | 265 | | |
261 | 266 | | |
| |||
Lines changed: 16 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
852 | 852 | | |
853 | 853 | | |
854 | 854 | | |
855 | | - | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
856 | 859 | | |
857 | 860 | | |
858 | | - | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
859 | 865 | | |
860 | 866 | | |
861 | 867 | | |
| |||
1308 | 1314 | | |
1309 | 1315 | | |
1310 | 1316 | | |
1311 | | - | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
1312 | 1321 | | |
1313 | 1322 | | |
1314 | | - | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
1315 | 1327 | | |
1316 | 1328 | | |
1317 | 1329 | | |
| |||
0 commit comments