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