code: def connect(self, id): # pylint: disable=invalid-name,redefined-builtin
          
          schema = ConnectionSchema()
          resp = self.service.post(self.base+str(id)+'/connect/')
          return self.service.decode(schema, resp)
docs: Open proxy connection to a device's management interface.
  
          :param id: Device ID as an int.
          :return: :class:`devices.Connection <devices.Connection>` object
          :rtype: devices.Connection