artemis/titles/diva/database.py

25 lines
816 B
Python
Raw Normal View History

from core.config import CoreConfig
2024-03-22 16:22:07 +00:00
from core.data import Data
2023-03-09 16:38:58 +00:00
from titles.diva.schema import (
DivaCustomizeItemData,
DivaItemData,
2024-03-22 16:22:07 +00:00
DivaModuleData,
DivaProfileData,
DivaPvCustomizeData,
DivaScoreData,
2023-03-09 16:38:58 +00:00
DivaStaticData,
)
class DivaData(Data):
def __init__(self, cfg: CoreConfig) -> None:
super().__init__(cfg)
self.profile = DivaProfileData(self.config, self.session)
self.score = DivaScoreData(self.config, self.session)
self.module = DivaModuleData(self.config, self.session)
self.customize = DivaCustomizeItemData(self.config, self.session)
self.pv_customize = DivaPvCustomizeData(self.config, self.session)
self.item = DivaItemData(self.config, self.session)
self.static = DivaStaticData(self.config, self.session)