def METHOD_NAME(self, path: Path) -> None:
    """Serialize the configuration to meta.yaml file
    Parameters
    ----------
    path
        path to the meta.yaml file
    """
    import yaml
    with open(path, "w") as f:
        yaml.dump(self.dict(by_alias=True, exclude_unset=True), f)