genshin-wiki/model/_base.py
2023-04-24 23:06:39 +08:00

9 lines
210 B
Python

from humps import camelize
from utils.model import BaseConfig, BaseModel
class DataModel(BaseModel):
class Config(BaseConfig):
alias_generator = lambda x: camelize(x.removesuffix("TextHashMap"))