Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
seallard committed Aug 6, 2024
1 parent 602e076 commit 2cb32e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions genotype_api/api/endpoints/plates.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Routes for plates"""

from http import HTTPStatus
import logging
from typing import Literal
from fastapi import APIRouter, Depends, File, Query, UploadFile, status, HTTPException
from fastapi.responses import JSONResponse
Expand All @@ -17,6 +18,7 @@

router = APIRouter()

logger = logging.getLogger(__name__)

def get_plate_service(store: Store = Depends(get_store)) -> PlateService:
return PlateService(store)
Expand Down Expand Up @@ -116,6 +118,7 @@ async def read_plates(
current_user: CurrentUser = Depends(get_active_user),
):
"""Display all plates"""
logging.info("RETRIEVING PLATES")
order_params = PlateOrderParams(
order_by=order_by, skip=skip, limit=limit, sort_order=sort_order
)
Expand Down

0 comments on commit 2cb32e1

Please sign in to comment.