def detail_deps(self): deps = set() deps.update(getdeps(self.detail_title)) deps.update(self.section.detail_sections) deps.update(self.section.detail_summary_widgets) deps.difference_update(['comments', 'dataset', 'status', 'tags']) return deps
def listing_deps(self): deps = {x for y in self.filter_functions for x in getdeps(y[1])} deps.update(x for y in self.listing_functions for x in getdeps(y[1])) deps.difference_update(['comments', 'dataset', 'status', 'tags']) return deps