yaml 이름 변경

This commit is contained in:
2025-12-30 19:59:10 +09:00
parent 530d7dd5f9
commit 35d9db7452

View File

@@ -178,7 +178,7 @@ def save_split(data, out_dir):
rendered = item.pop("_rendered_annotations", "")
name = item["metadata"]["name"]
namespace = item["metadata"].get("namespace", "default")
path = Path(out_dir) / f"{namespace}__{name}.yaml"
path = Path(out_dir) / f"{namespace}_{name}.yaml"
with open(path, "w") as f:
yaml.dump(item, f)