<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def settings(self):
 """Retrieve and cache settings from server"""

        if not self.__settings:
            self.__settings = self.request('get', 'settings').json()
        return self.__settings