

def get_db_sources(self, model):
    '\n        Returns the list of sources that match fields on the given ``model`` class.\n        '
    sources = []
    for source in self.sources:
        target_field = source.resolve_source(model, source)
        if target_field:
            sources.append(source)
    return sources

dataset/ETHPy150Open pivotal-energy-solutions/django-datatable-view/datatableview/columns.py Column.get_db_sources/VarMisuse@30/69 `self`->`source`