1
0
mirror of synced 2024-12-11 13:36:00 +01:00
artemis/titles/mai2/database.py

19 lines
531 B
Python
Raw Normal View History

from core.data import Data
from core.config import CoreConfig
2023-03-09 17:38:58 +01: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 17:38:58 +01:00
self.score = Mai2ScoreData(self.config, self.session)