code: def devices(self):
          
          data = self.query(MyPlexDevice.key)
          return [MyPlexDevice(self, elem) for elem in data]
docs: Returns a list of all :class:`~plexapi.myplex.MyPlexDevice` objects connected to the server.