You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c3dcb03
Browse filesBrowse the repository at this point in the historyBrowse files
fix: Correct docstring typos in client template (#1347)
## Summary
- Fix `with_timeout` docstring to say "timeout configuration" instead of
"in seconds" since the method accepts an `httpx.Timeout` object, not a
numeric value
- Fix `set_async_httpx_client` docstring to include missing verb "set"
## Changes
- Updated `openapi_python_client/templates/client.py.jinja:93` to
correct the `with_timeout` description
- Updated `openapi_python_client/templates/client.py.jinja:136` to fix
the grammatical error in `set_async_httpx_client`
- Regenerated all golden records to reflect template changes
## Test plan
- [x] Regenerated golden records with `pdm regen`
- [x] Verified all generated client.py files now have correct docstrings
These changes improve the accuracy of the generated client documentation
and fix grammatical errors.
0 commit comments