def _set_cache(self, d):
    children = d.get('children')
    if children:
        d['children'] = [result_from_tuple(child, self.app) for child in children]
    self._cache = d
    return d
def _set_cache(self, d):
    children = d.get('children')
    if children:
        d['children'] = [result_from_tuple(child, self.app) for child in children]
    self._cache = d
    return d