code: def get_outputs(self):
          
          data = self.message(MessageType.GET_OUTPUTS, '')
          return json.loads(data, object_hook=OutputReply)
docs: Get a list of outputs.  The equivalent of :command:`i3-msg -t get_outputs`.
  
          :rtype: List of :class:`OutputReply`.
  
          Example output:
  
          .. code:: python
  
              >>> i3ipc.Connection().get_outputs()
              [{'name': 'eDP1',
                'primary': True,
                'active': True,
                'rect': {'width': 1920, 'height': 1080, 'y': 0, 'x': 0},
                'current_workspace': '2'},
               {'name': 'xroot-0',
                'primary': False,
                'active': False,
                'rect': {'width': 1920, 'height': 1080, 'y': 0, 'x': 0},
                'current_workspace': None}]