fix: remove obsolete subscribed_only parameter from list_podcasts calls#89
Conversation
The subscribed_only parameter was removed from list_podcasts() in a previous refactor but two callers still passed it, causing TypeError. Fixed in: - src/web/app.py (list_all_podcasts endpoint) - scripts/backfill_last_new_episode.py
|
Caution Review failedThe pull request is closed. WalkthroughCalls to Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (4)
✏️ Tip: You can disable this entire section by setting Comment |
- Remove TestChatEndpointWithSubscribedOnly tests (ChatRequest model doesn't have subscribed_only field) - Update migrate_sqlite_to_postgres.py to exclude is_subscribed column - Update export_sqlite_to_sql.py to exclude is_subscribed column - Fix docstring in repository.py that referenced is_subscribed
Summary
subscribed_onlyparameter fromlist_podcasts()callsProblem
After the
is_subscribedfield refactor (PR #86), thesubscribed_onlyparameter was removed fromlist_podcasts(), but two callers still passed it:src/web/app.py:692-list_all_podcastsendpointscripts/backfill_last_new_episode.py:27This caused:
Test plan
subscribed_onlyusages remain in repository callsSummary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.