genshin-wiki/models/_base.py

9 lines
210 B
Python
Raw Normal View History

2023-04-15 05:09:56 +00:00
from humps import camelize
from utils.model import BaseConfig, BaseModel
class DataModel(BaseModel):
class Config(BaseConfig):
alias_generator = lambda x: camelize(x.removesuffix("TextHashMap"))