lavkach3
10 строк · 419.0 Байт
1from fastapi import APIRouter, Depends2
3from app.prescription.prescription.api.prescription_api import prescription_router as ps_router4from core.fastapi.dependencies import (5PermissionDependency,6IsAuthenticated,7)
8
9router = APIRouter(prefix='/api/prescription')10router.include_router(ps_router, prefix="/prescription", tags=["Prescription"], dependencies=[Depends(PermissionDependency([IsAuthenticated]))])11
12