<commit_before># -*- coding: utf-8 -*-
from django.conf.urls import include
from django.conf.urls import url

from .. import views

from ..drf_routers import HybridSimpleRouter

profile_router = HybridSimpleRouter()
profile_router.register(r'credentials', views.CredentialsRouteViewSet,
                        base_name='credentialsroute')
profile_router.register(r'credentials/aws', views.AWSCredentialsViewSet)
profile_router.register(r'credentials/openstack',
                        views.OpenstackCredentialsViewSet)
profile_router.register(r'credentials/azure',
                        views.AzureCredentialsViewSet)
profile_router.register(r'credentials/gce',
                        views.GCECredentialsViewSet)

urlpatterns = [
    url(r'api/v1/auth/user/', include(profile_router.urls))
]<commit_msg>Don't include full api structure in the profile url<commit_after># -*- coding: utf-8 -*-
from django.conf.urls import include
from django.conf.urls import url

from .. import views

from ..drf_routers import HybridSimpleRouter

profile_router = HybridSimpleRouter()
profile_router.register(r'credentials', views.CredentialsRouteViewSet,
                        base_name='credentialsroute')
profile_router.register(r'credentials/aws', views.AWSCredentialsViewSet)
profile_router.register(r'credentials/openstack',
                        views.OpenstackCredentialsViewSet)
profile_router.register(r'credentials/azure',
                        views.AzureCredentialsViewSet)
profile_router.register(r'credentials/gce',
                        views.GCECredentialsViewSet)

urlpatterns = [
    url(r'user/', include(profile_router.urls))
]
{'fraction_non_alphanumeric': 0.0970873786407767, 'fraction_numerical': 0.0018203883495145632, 'mean_word_length': 3.606145251396648, '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': '7222317', 'n_tokens_mistral': 457, 'n_tokens_neox': 457, 'n_words': 76}