"""
URLs for the passthrough API views in the dashboard app.
"""
from django.urls import path
from smarter.common.utils.conversion import to_snake_case
from .const import namespace
from .providers import ProviderApiView
app_name = namespace
[docs]
class PassthroughApiReverseNames:
"""
A class to hold the namespace for the passthrough API views in the dashboard app.
"""
namespace = namespace
api_providers = to_snake_case(ProviderApiView)
urlpatterns = [
path("providers/", ProviderApiView.as_view(), name=PassthroughApiReverseNames.api_providers),
]