def filter_hoppable( source):

    for pool in source:
        if not pool.payout_scheme:
            continue
        if pool.payout_scheme.lower() in ['prop','score']:
            yield pool
Perform additional actions to pre-fill the edit form.
dataset/ETHPy150Open c00w/bitHopper/bitHopper/Logic/ServerLogic.py/filter_hoppable--crossover with--dataset/ETHPy150Open flask-admin/flask-admin/flask_admin/model/base.py/BaseModelView.on_form_prefill