def get_updates(_queue):
    """
    Get all available updates from a queue.Queue() instance and return them as a list
    """
    _list = []
    while not _queue.empty():
        _list.append(_queue.get())
    return _list