HTTP exceptions added to endpoints (instead of just True, False responces)
This commit is contained in:
parent
60e5463028
commit
e6b34d684a
@ -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()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user