def _add_params_docstring ( params ) : p_string = "\nAccepts the following paramters: \n" for param in params : p_string += "name: %s, required: %s, description: %s \n" % ( param [ 'name' ] , param [ 'required' ] , param [ 'description' ] ) return p_string
python docstring dictionary param
Add params to doc string
def _add_params_docstring(params):
    """ Add params to doc string
    """
    p_string = "\nAccepts the following paramters: \n"
    for param in params:
         p_string += "name: %s, required: %s, description: %s \n" % (param['name'], param['required'], param['description'])
    return p_string