add async_session
This commit is contained in:
parent
dd09bcf218
commit
8d8d4853b6
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ from fastapi import FastAPI, HTTPException, Query
|
||||||
from fastapi.responses import FileResponse, HTMLResponse
|
from fastapi.responses import FileResponse, HTMLResponse
|
||||||
from sqlalchemy import and_, func, select
|
from sqlalchemy import and_, func, select
|
||||||
from sqlalchemy.ext.asyncio import AsyncSession
|
from sqlalchemy.ext.asyncio import AsyncSession
|
||||||
|
from database import async_session
|
||||||
from models import positions
|
from models import positions
|
||||||
from schemas import (
|
from schemas import (
|
||||||
Direction,
|
Direction,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue