<commit_before># -*- coding: utf-8 -*-

ROZPIS_HEADERS = {
                'rozpis.id': 'id',
                'rozpis.auth_user_id': 'muzikant',
                'rozpis.misto_id': 'misto',
                'rozpis.zacatek': 'zacatek',
            }

@auth.requires_login()
def index():
    response.view = 'default/rozpis.html'
    return dict(grid=SQLFORM.grid(db.rozpis.auth_user_id==auth.user_id,
            orderby=db.rozpis.zacatek,
            showbuttontext=False,
            create=False,
            editable=False,
            deletable=False,
            searchable=False,
            headers=ROZPIS_HEADERS
            ))

#@auth.requires_membership('rozpis')
def rozpis():<commit_msg>(predchozi byla beta od plugin_manage_groups) + nasazen decorator pro rozpis<commit_after># -*- coding: utf-8 -*-

ROZPIS_HEADERS = {
                'rozpis.id': 'id',
                'rozpis.auth_user_id': 'muzikant',
                'rozpis.misto_id': 'misto',
                'rozpis.zacatek': 'zacatek',
            }

@auth.requires_login()
def index():
    response.view = 'default/rozpis.html'
    return dict(grid=SQLFORM.grid(db.rozpis.auth_user_id==auth.user_id,
            orderby=db.rozpis.zacatek,
            showbuttontext=False,
            create=False,
            editable=False,
            deletable=False,
            searchable=False,
            headers=ROZPIS_HEADERS
            ))

@auth.requires_membership('rozpis')
def rozpis():
{'fraction_non_alphanumeric': 0.1289437585733882, 'fraction_numerical': 0.0013717421124828531, 'mean_word_length': 2.0020576131687244, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6113912', 'n_tokens_mistral': 493, 'n_tokens_neox': 501, 'n_words': 65}