You've already forked RekomenciBackend
chore: small improvements
This commit is contained in:
@@ -29,7 +29,6 @@ tests:
|
||||
just up
|
||||
|
||||
docker compose --profile migrations --profile tests up tests --remove-orphans --abort-on-container-exit
|
||||
coverage report
|
||||
|
||||
# =========
|
||||
# > Lints
|
||||
|
||||
@@ -14,7 +14,7 @@ from template_project.application.auth_identity.interactors.sign_in import SignI
|
||||
from template_project.application.auth_identity.interactors.sign_up import SignUpInteractor
|
||||
from template_project.application.common.containers import SecretString
|
||||
|
||||
router = APIRouter(route_class=DishkaRoute)
|
||||
router = APIRouter(route_class=DishkaRoute, tags=["Auth"])
|
||||
|
||||
|
||||
class EmailSignUpRequest(BaseModel):
|
||||
|
||||
@@ -2,7 +2,7 @@ from dishka.integrations.fastapi import DishkaRoute
|
||||
from fastapi import APIRouter
|
||||
from pydantic import BaseModel
|
||||
|
||||
router = APIRouter(route_class=DishkaRoute)
|
||||
router = APIRouter(route_class=DishkaRoute, tags=["Health"])
|
||||
|
||||
|
||||
class HealthcheckResponse(BaseModel):
|
||||
|
||||
@@ -12,7 +12,7 @@ from template_project.application.user.profile.interactors.patch_profile import
|
||||
)
|
||||
|
||||
security = HTTPBearer()
|
||||
router = APIRouter(route_class=DishkaRoute, dependencies=[Depends(security)])
|
||||
router = APIRouter(route_class=DishkaRoute, tags=["Profile"], dependencies=[Depends(security)])
|
||||
|
||||
|
||||
class GetProfileResponse(BaseModel):
|
||||
|
||||
@@ -56,6 +56,7 @@ class DatabaseClearer:
|
||||
END $$;
|
||||
"""),
|
||||
)
|
||||
await self._session.commit()
|
||||
|
||||
|
||||
class TestProvider(Provider):
|
||||
|
||||
Reference in New Issue
Block a user