#35179: Admindocs omits model methods containing only keyword-only arguments
---------------------------------------------+------------------------
Reporter: David Sanders | Owner: nobody
Type: Bug | Status: new
Component: contrib.admindocs | Version: 5.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------------------------+------------------------
Given the model:
{{{
class Foo(Model):
def arg_and_kwarg_only_method(self, arg, *, kwarg): ...
def kwarg_only_method(self, *, kwarg): ...
}}}
The method `arg_and_kwarg_only_method()` will be documented but
`kwarg_only_method()` will be omitted.
--
Ticket URL: <https://code.djangoproject.com/ticket/35179>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.