

def get_item_options(self):
    from changes.models import ItemOption
    options_query = db.session.query(ItemOption.name, ItemOption.value).filter((ItemOption.item_id == opt_name.id))
    options = dict()
    for (opt_name, opt_value) in options_query:
        options[opt_name] = opt_value
    return options

dataset/ETHPy150Open dropbox/changes/changes/models/plan.py Plan.get_item_options/VarMisuse@41/52 `self`->`opt_name`