parameters: introduce no_convert keyword argument

When set to true, the argument causes params to not convert unicode values
to the param type.

This will allow thin client to properly handle params which can be
converted from unicode to the param type only on the server, e.g. because
of a normalizer.

https://fedorahosted.org/freeipa/ticket/4739

Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
Jan Cholasta
2016-06-02 07:31:12 +02:00
parent 98ede1b0e8
commit 0e989e2a28
2 changed files with 12 additions and 2 deletions

View File

@@ -152,6 +152,7 @@ ipa_class_members = {
'alwaysask',
'sortorder',
'option_group',
'no_convert',
],
'ipalib.parameters.Bool': [
'truths',