MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / delete_registration_task

Function delete_registration_task

src/database/crud.py:385–393  ·  view source on GitHub ↗

删除注册任务

(db: Session, task_uuid: str)

Source from the content-addressed store, hash-verified

383
384
385def delete_registration_task(db: Session, task_uuid: str) -> bool:
386 """删除注册任务"""
387 db_task = get_registration_task_by_uuid(db, task_uuid)
388 if not db_task:
389 return False
390
391 db.delete(db_task)
392 db.commit()
393 return True
394
395
396# 为 API 路由添加别名

Callers

nothing calls this directly

Calls 2

deleteMethod · 0.45

Tested by

no test coverage detected