fix: remove debug print(req.scope) from get_docs route (#32) #34
No reviewers
Labels
No Label
ai-changes-requested
ai-failed
ai-merged
ai-pr-opened
ai-reviewed
ai-reviewing
ai-reviewing
ai-working
bug
enhancement
evolution
performance
phase-0
phase-1a
phase-1b
phase-1c
phase-1d
security
tech-debt
todo
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/paper-dynasty-database#34
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "ai/paper-dynasty-database-32"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Removes the debug
print(req.scope)statement from theget_docsroute inapp/main.pythat was logging the full ASGI request scope to stdout on every/api/docspage load.Changes
app/main.py: Removedprint(req.scope)from theget_docsfunction (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/docsroute still functions correctly; only the debug output is removed.Closes #31
Pull request closed