docs: remove stale response_factory param from add_static docs#12797
Conversation
Closes aio-libs#12718 The response_factory parameter was removed from the add_static implementation in PR aio-libs#2290. This fix removes it from the method signature shown in the documentation to match the actual API. AI assistance disclosure: This fix was created with assistance from an AI coding assistant (Claude/Buck). The human author reviewed and validated all changes.
for more information, see https://pre-commit.ci
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #12797 +/- ##
==========================================
- Coverage 98.95% 98.95% -0.01%
==========================================
Files 131 131
Lines 46688 47719 +1031
Branches 2421 2475 +54
==========================================
+ Hits 46200 47219 +1019
- Misses 366 376 +10
- Partials 122 124 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
Merging this PR will not alter performance
Comparing Footnotes
|
Backport to 3.14: 💚 backport PR created✅ Backport PR branch: Backported as #12867 🤖 @patchback |
Backport to 3.15: 💚 backport PR created✅ Backport PR branch: Backported as #12868 🤖 @patchback |
…ry param from add_static docs (#12868) **This is a backport of PR #12797 as merged into master (86c33ba).** Co-authored-by: Wahaj Ahmed <[email protected]>
…ry param from add_static docs (#12867) **This is a backport of PR #12797 as merged into master (86c33ba).** Co-authored-by: Wahaj Ahmed <[email protected]>
Closes #12718
Approach
The
response_factoryparameter was removed from theadd_staticimplementation in PR #2290, but the method signature shown in the documentation (docs/web_reference.rst) still listed it. This fix removes the staleresponse_factory=StreamResponseline from the documented signature, matching the actual API.Changes
docs/web_reference.rst: Removedresponse_factory=StreamResponseline from the.. method:: add_static(...)signatureCHANGES/12718.doc.rst: Added changelog entry (one file, one line deleted)AI assistance disclosure: This fix was created with assistance from an AI coding assistant (Claude/Buck). The human author reviewed and validated all changes.