dont call async
This commit is contained in:
parent
d335768c1b
commit
d6a5f4e2cc
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ from contextlib import asynccontextmanager
|
||||||
logging.basicConfig(level=logging.INFO)
|
logging.basicConfig(level=logging.INFO)
|
||||||
|
|
||||||
|
|
||||||
@asynccontextmanager()
|
@asynccontextmanager
|
||||||
async def lifespan(_app: FastAPI):
|
async def lifespan(_app: FastAPI):
|
||||||
async with aiohttp.ClientSession(
|
async with aiohttp.ClientSession(
|
||||||
"https://ip.shronk.tech",
|
"https://ip.shronk.tech",
|
||||||
|
|
Reference in a new issue