def __init__(self, model, color_set, filter_options):
        """Create a query object given a wallet_model <model> and
        a list of colors in <color_set>
        """
        self.model = model
        self.color_set = color_set
        self.coin_manager = model.get_coin_manager()
        self.filter_options = filter_options
        assert 'spent' in filter_options
dataset/ETHPy150Open chromaway/ngcccbase/ngcccbase/coindb.py/CoinQuery.__init__/original