<commit_before>from django.conf.urls import url, include
from rest_framework.authtoken.views import obtain_auth_token
from . import views

api_patterns = [
        url(r'^auth/',
            include('rest_framework.urls', namespace='rest_framework')),
        url(r'^token-auth/', obtain_auth_token, name='api-token-auth'),
        url(r'^users/$', views.UserAPI.as_view(), name='users-api'),
        url(r'^users/(?P<pk>[0-9]+)/$', views.UserDetailAPI.as_view(),
            name='users-detail-api'),
        url(r'^groups/$', views.GroupAPI.as_view(), name='groups-api'),
        url(r'^groups/(?P<pk>[0-9]+)/$', views.GroupDetailAPI.as_view(),
            name='groups-detail-api'),
        ]

urlpatterns = [
        url(r'api/1.0/', include(api_patterns)),
        url(r'^generate_pdf/(?P<bill_id>\d+)$', views.generate_pdf,
            name='generate-pdf'),
        ]<commit_msg>remove import and url related to rest framework<commit_after>from django.conf.urls import url
from . import views

urlpatterns = [
        url(r'^generate_pdf/(?P<bill_id>\d+)$', views.generate_pdf,
            name='generate-pdf'),
        ]
{'fraction_non_alphanumeric': 0.18189884649511978, 'fraction_numerical': 0.005323868677905945, 'mean_word_length': 3.162361623616236, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '299179', 'n_tokens_mistral': 381, 'n_tokens_neox': 370, 'n_words': 55}