Opened 10 months ago

Last modified 9 months ago

#35179 closed Bug

Admindocs omits model methods containing only keyword-only arguments — at Initial Version

Reported by: David Sanders Owned by: nobody
Component: contrib.admindocs Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top