@classmethod
def _dump(cls, data, path: Union[(str, Path)]) -> None:
    path = cls._coerce_path(path)
    with path.open('w') as f:
        yaml.dump(data, f, sort_keys=False)
@classmethod
def _dump(cls, data, path: Union[(str, Path)]) -> None:
    path = cls._coerce_path(path)
    with path.open('w') as f:
        yaml.dump(data, f, sort_keys=False)