update DependsSession to CurrentSession

This commit is contained in:
wu
2023-04-14 00:23:26 +08:00
committed by Wu Clan
parent b335fc1be7
commit 9481500b27
2 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ async def get_db() -> AsyncSession:
# Session 依赖注入
DependsSession = Annotated[AsyncSession, Depends(get_db)]
CurrentSession = Annotated[AsyncSession, Depends(get_db)]
async def create_table():