artemis/titles/idac/database.py

17 lines
606 B
Python
Raw Normal View History

2023-10-01 01:54:23 +00:00
from core.data import Data
from core.config import CoreConfig
from titles.idac.schema.profile import IDACProfileData
from titles.idac.schema.item import IDACItemData
from titles.idac.schema.rounds import IDACOnlineRounds
from titles.idac.schema.factory import IDACFactoryData
2023-10-01 01:54:23 +00:00
class IDACData(Data):
def __init__(self, cfg: CoreConfig) -> None:
super().__init__(cfg)
self.profile = IDACProfileData(cfg, self.session)
self.item = IDACItemData(cfg, self.session)
self.rounds = IDACOnlineRounds(cfg, self.session)
self.factory = IDACFactoryData(cfg, self.session)