Closed bobthemighty closed 5 months ago
Hmm I'm not sure what the usage is supposed to look like but I imagine Django-ninja's is probably correct
There are some existing overloads:
Do you want me to just dump in another overload to satisfy this case? I could spend some time trying to work out what the heck that function actually does but I'm not sure I have the context to do a good job.
I think another overload is a good fix!
The signature of
path
in the stubs expects aview
parameter of typeList[Union[URLResolver, str]]
But Django-ninjas gives
I'm happy to open a PR to fix the discrepancy, but I'm frankly lost trying to understand what the type here should be.