code: 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)f 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))
docs: A version of `connectionFromArray` that takes a promised array, and returns a
      promised connection.