mirror of
https://gitea.tendokyu.moe/Hay1tsme/artemis.git
synced 2026-02-06 23:57:41 +08:00
fix: typing shenanigans
This commit is contained in:
@@ -39,7 +39,7 @@ event_log: Table = Table(
|
||||
|
||||
|
||||
class BaseData:
|
||||
def __init__(self, cfg: CoreConfig, conn: sessionmaker[AsyncSession]) -> None:
|
||||
def __init__(self, cfg: CoreConfig, conn: "sessionmaker[AsyncSession]") -> None:
|
||||
self.config = cfg
|
||||
self.conn = conn
|
||||
self.logger = logging.getLogger("database")
|
||||
|
||||
Reference in New Issue
Block a user