Skip to content

fix: GetNote/GetTag typed Input DTO 統一 + _BoundQueryExecutor TRY300 修正#142

Merged
hideyukiMORI merged 1 commit into
mainfrom
fix/109-typed-get-input-manual
May 19, 2026
Merged

fix: GetNote/GetTag typed Input DTO 統一 + _BoundQueryExecutor TRY300 修正#142
hideyukiMORI merged 1 commit into
mainfrom
fix/109-typed-get-input-manual

Conversation

@hideyukiMORI
Copy link
Copy Markdown
Owner

Summary

Changes

ファイル 変更内容
note/use_case.py GetNoteInput 追加、GetNoteUseCase.execute 型変更
tag/use_case.py GetTagInput 追加、GetTagUseCase.execute 型変更
note/handler.py GetNoteInput インポート・使用
tag/handler.py GetTagInput インポート・使用
mcp.py GetNoteInput/GetTagInput インポート・使用
sqlalchemy_executor.py _BoundQueryExecutor.write TRY300 修正
tests/example/test_mcp.py GetNoteInput 使用に更新

Test plan

  • uv run pytest — 178 tests passed, 91.32% coverage
  • uv run mypy src/ — no issues
  • uv run ruff check src/ tests/ — no issues
  • uv run ruff format --check src/ tests/ — no issues

Closes #109

🤖 Generated with Claude Code

PR #118 が merge conflict のため手動適用。PR #136 で GetCommentInput は
適用済みのため Note/Tag の GetNoteInput / GetTagInput のみ追加。
合わせて _BoundQueryExecutor.write() の TRY300 違反(return inside try)を修正。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@hideyukiMORI hideyukiMORI merged commit 4aed643 into main May 19, 2026
1 check passed
@hideyukiMORI hideyukiMORI deleted the fix/109-typed-get-input-manual branch May 21, 2026 15:08
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.

fix: GetNoteUseCase / GetTagUseCase / GetCommentUseCase が typed Input DTO を使っていない

1 participant