MCPcopy
hub / github.com/wechaty/python-wechaty / __init__

Method __init__

src/wechaty/utils/data_util.py:58–66  ·  view source on GitHub ↗

init wechaty setting

(
        self,
        setting_file: str
    )

Source from the content-addressed store, hash-verified

56class WechatySetting(UserDict):
57 """save setting into file when changed"""
58 def __init__(
59 self,
60 setting_file: str
61 ):
62 """init wechaty setting"""
63 super().__init__()
64 self.setting_file = setting_file
65 self._init_setting()
66 self.data = self.read_setting()
67
68 def _init_setting(self):
69 """init setting file"""

Callers

nothing calls this directly

Calls 2

_init_settingMethod · 0.95
read_settingMethod · 0.95

Tested by

no test coverage detected