def secret(self, default=RAISE, convert=None, name=None, section=None):
if section is None:
section = self.section
return attr.ib(
default=default,
metadata={
CNF_KEY: _ConfigEntry(name, default, None, self._get),
CNF_INI_SECRET_KEY: _INIConfig(section),
},
convert=convert,
)
评论列表
文章目录