$def with (user, key=None, owners_page=False, public=False, counts=None, lists=None, component_times={}) $ username = user.key.split('/')[-1] $if not (lists and counts): $ pa = get_public_patron_account(username) $ lists = lists or pa.lists $ counts = counts or pa.get_sidebar_counts $ component_times['Sidebar'] = time()
$if public or owners_page: $if owners_page and ctx.user and ctx.user.in_sponsorship_beta():
$ component_times['Sidebar'] = time() - component_times['Sidebar']