code: def get_moods(self):
          
          mood_parent = self._get_mood_parent()
  
          def process_result(result):
              return [self.get_mood(mood, mood_parent=mood_parent) for mood in
                      result]
  
          return Command('get', [ROOT_MOODS, mood_parent],
                         process_result=process_result)
docs: Return moods defined on the gateway.
  
          Returns a Command.