Generate JSON and save to file
(data: Dict[str, Any], path: str)
| 248 | |
| 249 | |
| 250 | def write_import_json(data: Dict[str, Any], path: str): |
| 251 | """ Generate JSON and save to file""" |
| 252 | content = json.dumps(data, indent=2) |
| 253 | _write(Path(path), content) |
| 254 | |
| 255 | |
| 256 | def prepare_temlpate(template: Dict[str, Any]) -> None: |