fm code 'rename fetch_user to load_user everywhere; nothing else changes' --worker claude
Plan CLEAN S · Rename fetch_user to load_user
Steps
- Rename the definition in api.py (line 1)
- Update the import and call in views.py (lines 1 and 5)
- Update the call in jobs.py (line 5)
- Run the greps and the tests
Checks
- PASS No reference to fetch_user remains in any .py file
! grep -rq fetch_user --include=*.py .(failed before the work) - PASS load_user is defined in api.py and used in views.py and jobs.py
grep -q 'def load_user' api.py && grep -q 'import load_user' views.py && grep -q 'api.load_user' jobs.py(failed before the work) - PASS Existing tests still pass
python -m unittest test_views
Changed
api.py+1 −1views.py+2 −2jobs.py+1 −1
Closed T-0001 closed; committed 60d5120 (3 files). Undo: git revert --no-edit 60d5120 (tokens: 99408 in, 462 out)