Closed FelixTheC closed 4 years ago
from django.urls.conf import path as url_path @match_typing def swagger_from_url(self, urlpatterns: List[url_path]): pass
path = partial(_path, Pattern=RoutePattern)
leads to AttributeError: 'functools.partial' object has no attribute '_subs_tree'
AttributeError: 'functools.partial' object has no attribute '_subs_tree'
is not really an issue. Use
from django.urls import URLPattern @match_typing def swagger_from_url(self, urlpatterns: List[URLPattern]): pass
path = partial(_path, Pattern=RoutePattern)
leads to
AttributeError: 'functools.partial' object has no attribute '_subs_tree'