mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipalib: replace DeprecatedParam with deprecated Param argument
Introduce new `deprecated` Param keywork argument. Setting it to True on a param has the same effect as using DeprecatedParam. This allows deprecating params while retaining their type information. Revert all DeprecatedParam params back to their original definition and set `deprecated` to True. Remove the now unused DeprecatedParam class. https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
@@ -153,6 +153,7 @@ ipa_class_members = {
|
||||
'sortorder',
|
||||
'option_group',
|
||||
'no_convert',
|
||||
'deprecated',
|
||||
],
|
||||
'ipalib.parameters.Bool': [
|
||||
'truths',
|
||||
|
||||
Reference in New Issue
Block a user