human
Complete this python program:
def get_indexes_async(**kwargs):
assistant
#Here is the Python code you requested.

    """Asynchronously retrieves the application indexes and their states.
    Identical to get_indexes() except returns an asynchronous object. Call
    get_result() on the return value to block on the call and get the results.
    """
    def extra_hook(indexes):
        return [(_index_converter(index), state) for (index, state) in indexes]
    return datastore.GetIndexesAsync(extra_hook=extra_hook, **kwargs)