HTTP exceptions added to endpoints (instead of just True, False responces)

This commit is contained in:
DmitryGantimurov 2023-09-12 00:22:36 +03:00
parent 60e5463028
commit e6b34d684a

View File

@ -26,6 +26,7 @@ import os
from . import add_poems_and_filters, auth_utils, orm_models, pydantic_schemas from . import add_poems_and_filters, auth_utils, orm_models, pydantic_schemas
# создаем приложение Fastapi # создаем приложение Fastapi
app = FastAPI() app = FastAPI()