<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def connection_from_promised_list(data_promise, args=None, **kwargs):
    '''
    A version of `connectionFromArray` that takes a promised array, and returns a
    promised connection.
    '''
    return data_promise.then(lambda data: connection_from_list(data, args, **kwargs))