[Update] Add comments to clarify property access levels in Config class

This commit is contained in:
misyaguziya
2025-08-06 21:36:51 +09:00
parent d12c157b66
commit b1fabc37a4

View File

@@ -139,7 +139,8 @@ class Config:
def SEND_MESSAGE_BUTTON_TYPE_LIST(self):
return self._SEND_MESSAGE_BUTTON_TYPE_LIST
@property
# Read Write
@property
@json_serializable('SEND_MESSAGE_FORMAT_PARTS')
def SEND_MESSAGE_FORMAT_PARTS(self):
return self._SEND_MESSAGE_FORMAT_PARTS
@@ -176,7 +177,6 @@ class Config:
self._RECEIVED_MESSAGE_FORMAT_PARTS = value
self.saveConfig(inspect.currentframe().f_code.co_name, value)
# Read Write
@property
def ENABLE_TRANSLATION(self):
return self._ENABLE_TRANSLATION