Fix typo of function description in helpers.py

Corrected the typo of function description in convert_mapping_to_xml.

Change-Id: I368196e21ada21c6fdbac29a9f3141d0b719e872
This commit is contained in:
tanhengyeow 2018-07-08 11:35:34 +08:00
parent 11941c87f4
commit 0616341e31
1 changed files with 1 additions and 1 deletions

View File

@ -601,7 +601,7 @@ def convert_mapping_to_xml(parent, data, mapping, fail_required=True):
If fail_required is False parameter is treated as optional. Logic will skip If fail_required is False parameter is treated as optional. Logic will skip
configuring the XML tag for the parameter. We recommend for new plugins to configuring the XML tag for the parameter. We recommend for new plugins to
set fail_required=True and instead of optional parameters provide a default set fail_required=True and instead of optional parameters provide a default
value for all paramters that are not required instead. value for all parameters that are not required instead.
valid_options provides a way to check if the value the user input is from a valid_options provides a way to check if the value the user input is from a
list of available options. When the user pass a value that is not supported list of available options. When the user pass a value that is not supported