def _clean_duplicate_key_message(msg: str):
    unwanted = '\nTo suppress this check see:\n    http://yaml.readthedocs.io/en/latest/api.html#duplicate-keys\n\nDuplicate keys will become an error in future releases, and are errors\nby default when using the new API.\n'
    return msg.replace(unwanted, '')
def _clean_duplicate_key_message(msg: str):
    unwanted = '\nTo suppress this check see:\n    http://yaml.readthedocs.io/en/latest/api.html#duplicate-keys\n\nDuplicate keys will become an error in future releases, and are errors\nby default when using the new API.\n'
    return msg.replace(unwanted, )