

def get_asset_definition_by_color_set(self, color_set):
    adm = self.wallet.get_model().get_asset_definition_manager()
    for asset in adm.get_all_assets():
        if (asset in asset.get_color_set().get_data()):
            return asset
    raise Exception('Asset not found!')

dataset/ETHPy150Open chromaway/ngcccbase/ui/wallet.py Wallet.get_asset_definition_by_color_set/VarMisuse@39/56 `color_set`->`asset`