Fix method and parameter descriptions

Method and parameter descriptions are being corrected for typo
mistakes and increase readability. In parameter 'context' description,
it should be 'for' instead of 'from'. Similar few other typos are
being addressed.

Change-Id: I6ff2072bf9dcd5ee2414c8b6d000aa155ee29be0
Closes-Bug: #1490379
This commit is contained in:
Vikas Choudhary 2015-08-31 09:12:32 +05:30
parent 937f5debd6
commit 9d790ff853

View File

@ -280,12 +280,12 @@ class TemplateDefinition(object):
return None return None
def get_params(self, context, baymodel, bay, **kwargs): def get_params(self, context, baymodel, bay, **kwargs):
"""Pulls template parameters from Baymodel and Bay. """Pulls template parameters from Baymodel and/or Bay.
:param context: Context to pull template parameters from :param context: Context to pull template parameters for
:param baymodel: Baymodel to pull template parameters from :param baymodel: Baymodel to pull template parameters from
:param bay: Bay to pull template parameters from :param bay: Bay to pull template parameters from
:param extra_params: Any extra params to provide to the template :param extra_params: Any extra params to be provided to the template
:return: dict of template parameters :return: dict of template parameters
""" """