fix(l1): make get_ticket keyword-only for consistency

T11 review caught that get_ticket was the one function without the *, marker
all other functions in the module use. One-line fix, no caller impact.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-28 13:13:55 -04:00
parent 7a36aeb410
commit 44a000a723

View File

@@ -54,7 +54,7 @@ async def update_status(
return ticket
async def get_ticket(db: AsyncSession, ticket_id: UUID) -> Optional[InternalTicket]:
async def get_ticket(db: AsyncSession, *, ticket_id: UUID) -> Optional[InternalTicket]:
"""Fetch a ticket by ID. Returns None if not found."""
return await db.get(InternalTicket, ticket_id)