@staticmethod
    def _collect_colored_outputs(unspent_outputs, asset_id, asset_quantity):
        total_amount = 0
        result = []
        for output in unspent_outputs:
            if output.output.asset_id == asset_id:
                result.append(output)
                total_amount += output.output.asset_quantity

            if total_amount >= asset_quantity:
                return result, total_amount

        raise InsufficientAssetQuantityError
Reap all the processes for this watcher.
dataset/ETHPy150Open OpenAssets/openassets/openassets/transactions.py/TransactionBuilder._collect_colored_outputs--crossover with--dataset/ETHPy150Open circus-tent/circus/circus/watcher.py/Watcher.reap_processes