artemis/titles/mai2/database.py

19 lines
531 B
Python
Raw Permalink Normal View History

from core.data import Data
from core.config import CoreConfig
2023-03-09 16:38:58 +00:00
from titles.mai2.schema import (
Mai2ItemData,
Mai2ProfileData,
Mai2StaticData,
Mai2ScoreData,
)
class Mai2Data(Data):
def __init__(self, cfg: CoreConfig) -> None:
super().__init__(cfg)
self.profile = Mai2ProfileData(self.config, self.session)
self.item = Mai2ItemData(self.config, self.session)
self.static = Mai2StaticData(self.config, self.session)
2023-03-09 16:38:58 +00:00
self.score = Mai2ScoreData(self.config, self.session)