File size: 306 Bytes
15adf17
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from fastapi import Depends, HTTPException, status
from fastapi import APIRouter
from authentication import get_current_user

router = APIRouter()


@router.get("/")
def read_demand_assessment(current_user: str = Depends(get_current_user)):
    return {"Status": "Alive!!! Hello from Demand Assessment"}