def get_spending_transactions(connection, inputs):
    """Return transactions which spend given inputs

    Args:
        inputs (list): list of {txid, output}

    Returns:
        Iterator of (block_ids, transaction) for transactions that
        spend given inputs.
    """
    raise NotImplementedError
Return transactions which spend given inputs

Args:
inputs (list): list of {txid, output}

Returns:
Iterator of (block_ids, transaction) for transactions that
spend given inputs.
bigchaindb/backend/query.py