def __init__(self, results, app=None, **kwargs):
    self.app = app_or_default((app or self.app))
    self.results = results
def __init__(self, results, app=None, **kwargs):
    self.app = app_or_default((app or self.app))
    self.results = results