code: def get_smart_tasks(self):
          
          def process_result(result):
              return [self.get_smart_task(task) for task in result]
  
          return Command('get', [ROOT_SMART_TASKS],
                         process_result=process_result)
docs: Return the transitions linked to the gateway.
  
          Returns a Command.