help / pydoc on plugin objects does not show arguments and options. It would be beneficial for users to show both in the output of help(api.Command.group_add). With Python 3.6 it's easy to create a signature from IPA's parameters on demand.
help(api.Command.group_add)
>>> help(api.Command.group_add) Help on group_add in module ipaserver.plugins.group object: class group_add(ipaserver.plugins.baseldap.LDAPCreate) | group_add(cn: str, *, description: str = None, gidnumber: int = None, setattr: List[str] = None, addattr: List[str] = None, nonposix: bool, external: bool, all: bool, raw: bool, version: str = None, no_members: bool) -> Dict[str, Any] ...
The stdlib typing module does not support complex dict notation. For return value notation it would be necessary to add mypy as new dependency.
Metadata Update from @cheimes: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/4866
master:
ipa-4-8:
Metadata Update from @rcritten: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.