Peter Mutwiri commited on
Commit Β·
8aaa8a5
1
Parent(s): 8957de8
fix: import asynccontextmanager for lifespan
Browse files- app/main.py +1 -0
app/main.py
CHANGED
|
@@ -14,6 +14,7 @@ import logging
|
|
| 14 |
from fastapi import FastAPI, Depends, HTTPException, Request
|
| 15 |
from fastapi.middleware.cors import CORSMiddleware
|
| 16 |
from fastapi.responses import JSONResponse
|
|
|
|
| 17 |
|
| 18 |
# βββ Router Imports βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 19 |
from app.routers import (
|
|
|
|
| 14 |
from fastapi import FastAPI, Depends, HTTPException, Request
|
| 15 |
from fastapi.middleware.cors import CORSMiddleware
|
| 16 |
from fastapi.responses import JSONResponse
|
| 17 |
+
from contextlib import asynccontextmanager
|
| 18 |
|
| 19 |
# βββ Router Imports βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 20 |
from app.routers import (
|