Fix operation id on an endpoint

This commit is contained in:
Brandon Rising 2023-08-29 10:32:22 -04:00
parent 670600a863
commit 35099dcdd8

View File

@ -96,7 +96,7 @@ async def list_incomplete_batches() -> list[BatchProcessResponse]:
@session_router.get( @session_router.get(
"/batch", "/batch",
operation_id="list__batches", operation_id="list_batches",
responses={200: {"model": list[BatchProcessResponse]}}, responses={200: {"model": list[BatchProcessResponse]}},
) )
async def list_batches() -> list[BatchProcessResponse]: async def list_batches() -> list[BatchProcessResponse]: