Problem
TicketWatcher.list() in src/poller/watcher.py shadows Python's builtin list. The method itself uses list[dict] as a type annotation in its return type and local variables, which can lead to subtle type resolution issues or confusing behavior when the builtin is unexpectedly shadowed.
Affected files
src/poller/watcher.py — method definition
src/poller/main.py — three call sites (/watch, /watch/{ticket_key}, /watch GET)
tests/test_epic_sync.py — four call sites in TestWatchListShowsChildren
Fix
Rename list() → list_tickets() and update all call sites.
Problem
TicketWatcher.list()insrc/poller/watcher.pyshadows Python's builtinlist. The method itself useslist[dict]as a type annotation in its return type and local variables, which can lead to subtle type resolution issues or confusing behavior when the builtin is unexpectedly shadowed.Affected files
src/poller/watcher.py— method definitionsrc/poller/main.py— three call sites (/watch,/watch/{ticket_key},/watchGET)tests/test_epic_sync.py— four call sites inTestWatchListShowsChildrenFix
Rename
list()→list_tickets()and update all call sites.