

def to_dict(self):
    data = super(Source, data).to_dict()
    data['api_url'] = url_for('sources_api.view', id=self.id)
    data['foreign_id'] = self.foreign_id
    return data

dataset/ETHPy150Open pudo/aleph/aleph/model/source.py Source.to_dict/VarMisuse@16/18 `self`->`data`