Добавил слип для теста
This commit is contained in:
parent
235edd9d4c
commit
1d7e9a67d8
1 changed files with 2 additions and 9 deletions
|
@ -1,5 +1,3 @@
|
|||
import asyncio
|
||||
|
||||
from fastapi import APIRouter, Depends, status
|
||||
|
||||
from app.config import settings
|
||||
|
@ -14,7 +12,8 @@ from app.chat.shemas import (
|
|||
SAllowedChats,
|
||||
SMessageList,
|
||||
SPinnedChats,
|
||||
SPinnedMessages, SChangeData,
|
||||
SPinnedMessages,
|
||||
SChangeData,
|
||||
)
|
||||
from app.unit_of_work import UnitOfWork
|
||||
from app.users.dependencies import check_verificated_user_with_exc
|
||||
|
@ -24,12 +23,6 @@ from app.users.schemas import SCreateInvitationLink, SUser, SInvitationData
|
|||
router = APIRouter(prefix="/chat", tags=["Чат"])
|
||||
|
||||
|
||||
@router.get(
|
||||
"/test"
|
||||
)
|
||||
async def root():
|
||||
await asyncio.sleep(10)
|
||||
|
||||
@router.get(
|
||||
"",
|
||||
status_code=status.HTTP_200_OK,
|
||||
|
|
Loading…
Add table
Reference in a new issue