def generate_choice_msg(name, value):

    message = ("Property {!r} doesn't fully specify a value - "
               "possible properties are:").format(name)
    for key, _ in sorted(value.property_items()):
        message += '\n{}.{}'.format(name, key)

    return message
:param name: name of the property
dataset/ETHPy150Open dcos/dcos-cli/dcos/config.py/generate_choice_msg