@utils.arg('type_name', metavar='<TYPE_NAME>',
           help=_('Profile type to retrieve.'))
@utils.arg('-F', '--format', metavar='<FORMAT>',
           choices=utils.supported_formats.keys(),
           help=_("The template output format, one of: %s.")
                 % ', '.join(utils.supported_formats.keys()))
def do_profile_type_show(service, args):
    show_deprecated('senlin profile-type-show',
                    'openstack cluster profile type show')
    try:
        res = service.get_profile_type(args.type_name)
    except sdk_exc.ResourceNotFound:
        raise exc.CommandError(
            _('Profile Type not found: %s') % args.type_name)

    pt = res.to_dict()

    if args.format:
        print(utils.format_output(pt, format=args.format))
    else:
        print(utils.format_output(pt))


# PROFILES
Test to ensure hug introspection can correctly identify if a function takes all specified arguments
dataset/ETHPy150Open openstack/python-senlinclient/senlinclient/v1/shell.py/do_profile_type_show--crossover with--dataset/ETHPy150Open timothycrosley/hug/tests/test_introspect.py/test_takes_all_arguments