MCPcopy
hub / github.com/PostHog/posthog / DefaultRouterPlusPlus

Class DefaultRouterPlusPlus

posthog/api/routing.py:23–28  ·  view source on GitHub ↗

DefaultRouter with optional trailing slash and drf-extensions nesting.

Source from the content-addressed store, hash-verified

21
22
23class DefaultRouterPlusPlus(ExtendedDefaultRouter):
24 """DefaultRouter with optional trailing slash and drf-extensions nesting."""
25
26 def __init__(self, *args, **kwargs):
27 super().__init__(*args, **kwargs)
28 self.trailing_slash = r"/?"
29
30
31class StructuredViewSetMixin(_GenericViewSet):

Callers 1

__init__.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…