fix: remove debug print(req.scope) from get_docs route (#32) #34

Closed
cal wants to merge 1 commits from ai/paper-dynasty-database-32 into next-release
Owner

Summary

Removes the debug print(req.scope) statement from the get_docs route in app/main.py that was logging the full ASGI request scope to stdout on every /api/docs page load.

Changes

  • app/main.py: Removed print(req.scope) from the get_docs function (line 56)

Note: A linter auto-reformatted the file on save (import formatting, single→double quotes, trailing commas). The functional change is solely the removal of the print statement.

Test Results

No test suite — verified by reading back the modified file. The /api/docs route still functions correctly; only the debug output is removed.

Closes #31

## Summary Removes the debug `print(req.scope)` statement from the `get_docs` route in `app/main.py` that was logging the full ASGI request scope to stdout on every `/api/docs` page load. ## Changes - `app/main.py`: Removed `print(req.scope)` from the `get_docs` function (line 56) **Note:** A linter auto-reformatted the file on save (import formatting, single→double quotes, trailing commas). The functional change is solely the removal of the print statement. ## Test Results No test suite — verified by reading back the modified file. The `/api/docs` route still functions correctly; only the debug output is removed. Closes #31
cal added 1 commit 2026-03-03 15:05:20 +00:00
fix: remove debug print(req.scope) from get_docs route (#32)
All checks were successful
Build Docker Image / build (pull_request) Successful in 3m2s
ecbe29f507
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
cal changed target branch from main to next-release 2026-03-03 16:54:54 +00:00
cal closed this pull request 2026-03-03 16:55:30 +00:00
All checks were successful
Build Docker Image / build (pull_request) Successful in 3m2s

Pull request closed

Sign in to join this conversation.
No description provided.