Spaces:
Sleeping
Sleeping
ktsn-ud commited on
Commit ·
d150b0f
1
Parent(s): adad91a
Project型の変更に伴い、JSON書き出し部分を変更
Browse files
scripts/2_create_projects_data.py
CHANGED
|
@@ -57,7 +57,7 @@ def main():
|
|
| 57 |
]
|
| 58 |
|
| 59 |
# JSON に書き出し
|
| 60 |
-
json_dumps(projects, output_json_path)
|
| 61 |
|
| 62 |
log.info(f"企画データの生成が完了しました: {output_json_path}")
|
| 63 |
sys.exit(0)
|
|
|
|
| 57 |
]
|
| 58 |
|
| 59 |
# JSON に書き出し
|
| 60 |
+
json_dumps([item.model_dump() for item in projects], output_json_path)
|
| 61 |
|
| 62 |
log.info(f"企画データの生成が完了しました: {output_json_path}")
|
| 63 |
sys.exit(0)
|