genshin-wiki/models/_base.py
2023-04-15 13:09:56 +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"))