def PopItem(self): """Pops an item of the queue. Provided for compatibility with the API, but doesn't actually work. Raises: WrongQueueType: As Pop is not supported by this queue. """ raise errors.WrongQueueType()
def PushItem(self, item, block=True): """Pushes an item on to the queue. Provided for compatibility with the API, but doesn't actually work. Args: item (object): item to push on the queue. block (Optional[bool]): whether the push should be performed in blocking or non-block mode. Raises: WrongQueueType: As Push is not supported this queue. """ raise errors.WrongQueueType()