Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /Pushikoo_Pushikoo /script /generate_api_client.py
| import json | |
| from pathlib import Path | |
| import subprocess | |
| from pushikoo.api import app | |
| ROOT = Path(__file__).parent.parent.resolve() | |
| openapi_file = ROOT / "frontend" / "openapi.json" | |
| openapi_file.touch(exist_ok=True) | |
| openapi_file.write_text(json.dumps(app.openapi()), encoding="utf-8") | |
| subprocess.check_call(["pnpm", "generate-client"], cwd=ROOT / "frontend", shell=True) | |
Xet Storage Details
- Size:
- 371 Bytes
- Xet hash:
- 6ceb6b1b30f599779145a40d2d0cb049749aadd8505d895397c8ba106c565adb
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.