From 44a000a723e918e16a04c8cd0e37fb67c25f1c42 Mon Sep 17 00:00:00 2001 From: Michael Chihlas Date: Thu, 28 May 2026 13:13:55 -0400 Subject: [PATCH] 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 --- backend/app/services/internal_ticket_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/services/internal_ticket_service.py b/backend/app/services/internal_ticket_service.py index 3ead0a23..85bab3c8 100644 --- a/backend/app/services/internal_ticket_service.py +++ b/backend/app/services/internal_ticket_service.py @@ -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)