mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-25 09:37:30 +00:00
🔥 Remove core/sqlmodel
This commit is contained in:
parent
33de7c6158
commit
9503759d21
@ -1,11 +1,11 @@
|
||||
from typing import List
|
||||
|
||||
from sqlmodel import select
|
||||
from sqlmodel.ext.asyncio.session import AsyncSession
|
||||
|
||||
from core.base_service import BaseService
|
||||
from core.dependence.database import Database
|
||||
from core.services.quiz.models import AnswerDB, QuestionDB
|
||||
from core.sqlmodel.session import AsyncSession
|
||||
|
||||
__all__ = ("QuizRepository",)
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
from gram_core.sqlmodel.session import AsyncSession
|
||||
|
||||
__all__ = ("AsyncSession",)
|
@ -1 +1 @@
|
||||
Subproject commit 0db711d96a3f479b0b5970b1cf26b9a6be3e2404
|
||||
Subproject commit 94dc4773d9dcc70fb12e58356bea4288bc82f1f6
|
@ -14,6 +14,7 @@ from simnet.utils.player import recognize_game_biz
|
||||
from sqlalchemy.exc import SQLAlchemyError
|
||||
from sqlalchemy.orm.exc import StaleDataError
|
||||
from sqlmodel import BigInteger, Column, DateTime, Field, Index, Integer, SQLModel, String, delete, func, select
|
||||
from sqlmodel.ext.asyncio.session import AsyncSession
|
||||
from telegram.ext import ContextTypes
|
||||
|
||||
from core.basemodel import RegionEnum
|
||||
@ -25,7 +26,6 @@ from core.services.cookies.services import CookiesService, PublicCookiesService
|
||||
from core.services.devices import DevicesService
|
||||
from core.services.players.services import PlayersService
|
||||
from core.services.users.services import UserService
|
||||
from core.sqlmodel.session import AsyncSession
|
||||
from gram_core.services.cookies.models import CookiesStatusEnum
|
||||
from utils.log import logger
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user