(
export_id: str,
base_url: str,
require_auth=fastapi.Depends(require_auth),
)
| 83 | |
| 84 | @web_app.post("/export_weights", operation_id="export_weights") |
| 85 | async def export_weights( |
| 86 | export_id: str, |
| 87 | base_url: str, |
| 88 | require_auth=fastapi.Depends(require_auth), |
| 89 | ): |
| 90 | logging.info(f"Kicking off export for request {export_id}") |
| 91 | call = await do_export_weights.spawn.aio(export_id, base_url) |
| 92 | return fastapi.responses.JSONResponse({"call_id": call.object_id}, status_code=202) |
nothing calls this directly
no outgoing calls
no test coverage detected