This commit is contained in:
Igor Lobanov
2023-10-26 22:38:31 +02:00
parent 1c49780cd4
commit c2cc428abe
64 changed files with 631 additions and 626 deletions

View File

@@ -1,11 +1,9 @@
from typing import Any, Callable, Dict, Generic, TypeVar
from sqlalchemy import Column, Integer, create_engine
from settings import DB_URL
from sqlalchemy import Column, create_engine, Integer
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import Session
from sqlalchemy.sql.schema import Table
from settings import DB_URL
from typing import Any, Callable, Dict, Generic, TypeVar
engine = create_engine(DB_URL, echo=False, pool_size=10, max_overflow=20)

View File

@@ -1,7 +1,5 @@
from asyncio import sleep
from aioredis import from_url
from asyncio import sleep
from settings import REDIS_URL