🔖 Release: v2.0.0 (#2070)

This commit is contained in:
Ju4tCode
2023-06-01 14:18:16 +08:00
committed by GitHub
parent 8af21f6e76
commit f3d5c1f226
26 changed files with 1337 additions and 576 deletions

View File

@ -444,7 +444,7 @@ async def get_client() -> AsyncGenerator[httpx.AsyncClient, None]:
@test.handle()
async def _(x: Annotated[httpx.AsyncClient, Depends(get_client)]):
resp = await x.get("https://v2.nonebot.dev")
resp = await x.get("https://nonebot.dev")
```
</TabItem>
@ -466,7 +466,7 @@ async def get_client() -> AsyncGenerator[httpx.AsyncClient, None]:
@test.handle()
async def _(x: httpx.AsyncClient = Depends(get_client)):
resp = await x.get("https://v2.nonebot.dev")
resp = await x.get("https://nonebot.dev")
```
</TabItem>