[loggi-1uq] Extract export endpoints from routes.py into app/export.py #116
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Bead ID:
loggi-1uqType: task
Priority: P2
Status: closed
Close reason: Extracted export_entry() and _export_record() into new app/export.py with export_bp blueprint. Registered in create_app(). routes.py reduced from 730 to 602 lines. All 171 tests pass including all export tests.
Why
routes.py is 730 lines, exceeding the ~500-line guideline. The export section (~110 lines: export_entry + _export_record + related imports) is self-contained and only depends on stats.py helpers.
What
Acceptance criteria
Dependencies:
loggi-2ze