INNER CODE UNIT · Python

auth_me_fallback

AleksNeStu/ai-real-estate-assistant · apps/api/api/main.py:576

    async def auth_me_fallback():
        raise HTTPException(status_code=401, detail="JWT authentication is not enabled")


# Task #76: Ranking Configuration
app.include_router(ranking_config.router, prefix="/api/v1", dependencies=[Depends(get_api_key)])
# Task #83: Investment Report Generator
app.include_router(investment.router, prefix="/api/v1", dependencies=[Depends(get_api_key)])
# Task #85: Comparative Market Analysis (CMA)
app.include_router(cma.router, prefix="/api/v1")
# Task #118: Search Relevance Rating
app.include_router(feedback.router, prefix="/api/v1", dependencies=[Depends(get_api_key)])


@app.get("/health", tags=["System"])
async def health_check(include_dependencies: bool = True):
    """
    Health check endpoint to verify API status.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…