<commit_before>from django.conf.urls import patterns, include, url
from rest_framework import routers
from api.v2 import views

router = routers.DefaultRouter(trailing_slash=False)
router.register(r'allocations', views.AllocationViewSet)
router.register(r'identities', views.IdentityViewSet)
router.register(r'images', views.ImageViewSet)
router.register(r'image_bookmarks', views.ImageBookmarkViewSet)
router.register(r'image_tags', views.ImageTagViewSet)
router.register(r'instances', views.InstanceViewSet)
router.register(r'instance_tags', views.InstanceTagViewSet)
router.register(r'platform_types', views.PlatformTypeViewSet)
router.register(r'projects', views.ProjectViewSet)
router.register(r'project_instances', views.ProjectInstanceViewSet)
router.register(r'project_volumes', views.ProjectVolumeViewSet)
router.register(r'providers', views.ProviderViewSet)
router.register(r'provider_machines', views.ProviderMachineViewSet)
router.register(r'provider_types', views.ProviderTypeViewSet)
router.register(r'quotas', views.QuotaViewSet)
router.register(r'sizes', views.SizeViewSet)
router.register(r'tags', views.TagViewSet)
router.register(r'users', views.UserViewSet)
router.register(r'volumes', views.VolumeViewSet)

urlpatterns = patterns('',
                       url(r'^', include(router.urls)),
                       )<commit_msg>hide users endpoint until permissions are sorted out<commit_after>from django.conf.urls import patterns, include, url
from rest_framework import routers
from api.v2 import views

router = routers.DefaultRouter(trailing_slash=False)
router.register(r'allocations', views.AllocationViewSet)
router.register(r'identities', views.IdentityViewSet)
router.register(r'images', views.ImageViewSet)
router.register(r'image_bookmarks', views.ImageBookmarkViewSet)
router.register(r'image_tags', views.ImageTagViewSet)
router.register(r'instances', views.InstanceViewSet)
router.register(r'instance_tags', views.InstanceTagViewSet)
router.register(r'platform_types', views.PlatformTypeViewSet)
router.register(r'projects', views.ProjectViewSet)
router.register(r'project_instances', views.ProjectInstanceViewSet)
router.register(r'project_volumes', views.ProjectVolumeViewSet)
router.register(r'providers', views.ProviderViewSet)
router.register(r'provider_machines', views.ProviderMachineViewSet)
router.register(r'provider_types', views.ProviderTypeViewSet)
router.register(r'quotas', views.QuotaViewSet)
router.register(r'sizes', views.SizeViewSet)
router.register(r'tags', views.TagViewSet)
#router.register(r'users', views.UserViewSet)
router.register(r'volumes', views.VolumeViewSet)

urlpatterns = patterns('',
                       url(r'^', include(router.urls)),
                       )
{'fraction_non_alphanumeric': 0.1188734455010973, 'fraction_numerical': 0.000731528895391368, 'mean_word_length': 7.82258064516129, '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': '1248688', 'n_tokens_mistral': 819, 'n_tokens_neox': 807, 'n_words': 123}