feat: newest json
This commit is contained in:
		
							parent
							
								
									9a547d3608
								
							
						
					
					
						commit
						0324313f92
					
				|  | @ -63,6 +63,7 @@ def convert(root: Path = Path(".")) -> None: | ||||||
|     task_obj = rtoml.loads(task_toml) |     task_obj = rtoml.loads(task_toml) | ||||||
|     result_model = convert_conf(repo.Config(**repo_obj), task.Config(**task_obj)) |     result_model = convert_conf(repo.Config(**repo_obj), task.Config(**task_obj)) | ||||||
|     result_dict = result_model.model_dump(by_alias=True) |     result_dict = result_model.model_dump(by_alias=True) | ||||||
|  |      | ||||||
|     with open(result_json_path, "w") as result_file: |     with open(result_json_path, "w") as result_file: | ||||||
|         json.dump(result_dict, result_file, ensure_ascii=False, indent=4) |         json.dump(result_dict, result_file, ensure_ascii=False, indent=4) | ||||||
|         result_file.write("\n") |         result_file.write("\n") | ||||||
|  |  | ||||||
|  | @ -18,7 +18,7 @@ | ||||||
|                                 "/<function", |                                 "/<function", | ||||||
|                                 "get_temp_directory", |                                 "get_temp_directory", | ||||||
|                                 "at", |                                 "at", | ||||||
|                                 "0x7fa86726c180>/repo-health-checker", |                                 "0x7f46eeff8180>/repo-health-checker", | ||||||
|                                 "-root=.", |                                 "-root=.", | ||||||
|                                 "-repoSize=50.5", |                                 "-repoSize=50.5", | ||||||
|                                 "-meta=main.py", |                                 "-meta=main.py", | ||||||
|  | @ -70,8 +70,8 @@ | ||||||
|                             "cpuRateLimit": 0, |                             "cpuRateLimit": 0, | ||||||
|                             "cpuSetLimit": "", |                             "cpuSetLimit": "", | ||||||
|                             "copyIn": { |                             "copyIn": { | ||||||
|                                 "//tmp/repo-checker-va9ba49a/repo-health-checker": { |                                 "//tmp/repo-checker-l7uddq8e/repo-health-checker": { | ||||||
|                                     "src": "//tmp/repo-checker-e82nkuo4/repo-health-checker", |                                     "src": "//tmp/repo-checker-s5wx4xg3/repo-health-checker", | ||||||
|                                     "content": null, |                                     "content": null, | ||||||
|                                     "fileId": null, |                                     "fileId": null, | ||||||
|                                     "name": null, |                                     "name": null, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user