Skip to content

Conversation

@ukwhatn
Copy link
Owner

@ukwhatn ukwhatn commented Jan 2, 2026

Summary

  • PageCollection.get_page_files(): 複数ページのファイルを一括取得
  • ForumPostCollection.acquire_all_in_threads(): 複数スレッドの投稿を一括取得(ページネーション対応)
  • ForumPostRevisionCollection.acquire_all_for_posts(): 複数投稿のリビジョンを一括取得(with_html オプション付き)

各バッチメソッドに対応して、単体取得プロパティ(Page.files, ForumThread.posts, ForumPost.revisions)もバッチメソッドを内部で使用するように修正。

Test plan

  • 既存テスト全パス(405 tests)
  • 型チェック通過
  • Lint/Format通過

- PageCollection.get_page_files(): 複数ページのファイル一括取得
- ForumPostCollection.acquire_all_in_threads(): 複数スレッドの投稿一括取得
- ForumPostRevisionCollection.acquire_all_for_posts(): 複数投稿のリビジョン一括取得

既存の単体取得プロパティ(Page.files, ForumThread.posts, ForumPost.revisions)も
一括取得メソッドを使用するように修正
@ukwhatn ukwhatn merged commit 42c881e into main Jan 2, 2026
13 checks passed
@ukwhatn ukwhatn deleted the feature/batch-acquisition-methods branch January 2, 2026 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants