Initial commit
This commit is contained in:
12
app/api/api_test.py
Normal file
12
app/api/api_test.py
Normal file
@@ -0,0 +1,12 @@
|
||||
import logging
|
||||
|
||||
from fastapi import APIRouter
|
||||
|
||||
logger = logging.getLogger()
|
||||
router = APIRouter()
|
||||
|
||||
|
||||
@router.get("")
|
||||
def test():
|
||||
logger.info("test")
|
||||
return {"message": "ok"}
|
||||
Reference in New Issue
Block a user