MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / _write_file_sync

Function _write_file_sync

lightx2v/server/api/tasks/video.py:15–17  ·  view source on GitHub ↗
(file_path: Path, content: bytes)

Source from the content-addressed store, hash-verified

13 @router.post("/video/", response_model=TaskResponse)
14 async def create_video_task(message: request_type):
15 return await submit_task(message, required_output="video")
16
17 @router.post("/video/form", response_model=TaskResponse, openapi_extra=form_request_openapi(request_type, uploads=uploads))
18 async def create_video_task_form(request: Request):
19 async with request.form() as form:
20 message = await parse_upload_form(request_type, form, get_services().file_service, uploads)

Callers

nothing calls this directly

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected