'Get the objects from the specific priority queue.
:param size: if size == 1 will be the right object,
else will be the objects list
:param priority:
:return: unpickled objects'

def get_proxy(self, size=1, priority=0):

    return pickle.dumps(self.get(size=size, priority=priority))
