health

Module Contents

Functions

check_on_premise_auth(user: db.mongodb_utils.UserAuth = Depends(current_active_user))

check_health(db: db.mongodb.AsyncIOMotorClient = Depends(get_database), response: fastapi.Response = Response(status_code=status.HTTP_200_OK))

check_auth(dep=Depends(JWTBearer())) → dict

get_jwt(user: models.user.UserBase) → models.user.User

Attributes

router

condition

health.router
async health.check_on_premise_auth(user: db.mongodb_utils.UserAuth = Depends(current_active_user))
async health.check_health(db: db.mongodb.AsyncIOMotorClient = Depends(get_database), response: fastapi.Response = Response(status_code=status.HTTP_200_OK))
health.condition = True
async health.check_auth(dep=Depends(JWTBearer())) dict
async health.get_jwt(user: models.user.UserBase) models.user.User