from typing import OrderedDict


def transform_deploymentParam(result):
    """Transforms a paramter into a row for a table"""
    result = OrderedDict([('Description', result['description']),
                        ('Name', result['name'] if 'name' in result else ''),
                        ('Type', result['type'] if 'type' in result else ''),
                        ('Lists Allowed Values', 'Yes' if 'allowedValues' in result else 'No'),
                        ('Default', result['defaultValue'] if 'defaultValue' in result else '')])
    return result