@staticmethod
def _get_fn_input_details(function):
    """Return a List of all Function Inputs which are Dictionaries with
        the attributes: api_name, name, type, required, placeholder and tooltip"""
    fn_inputs = []
    for i in function.get('inputs', []):
        the_input = {}
        the_input['api_name'] = i.get('name')
        the_input['name'] = i.get('text')
        the_input['type'] = i.get('input_type')
        the_input['required'] = 'Yes' if 'always' in i.get('required', ''
            ) else 'No'
        the_input['placeholder'] = i.get('placeholder') if i.get('placeholder'
            ) else '-'
        the_input['tooltip'] = i.get('tooltip') if i.get('tooltip') else '-'
        fn_inputs.append(the_input)
    fn_inputs = sorted(fn_inputs, key=lambda i: i['api_name'])
    return fn_inputs
