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

Function delete_codex2api_service

src/database/crud.py:874–881  ·  view source on GitHub ↗

删除 Codex2API 服务配置

(db: Session, service_id: int)

Source from the content-addressed store, hash-verified

872
873
874def delete_codex2api_service(db: Session, service_id: int) -> bool:
875 """删除 Codex2API 服务配置"""
876 svc = get_codex2api_service_by_id(db, service_id)
877 if not svc:
878 return False
879 db.delete(svc)
880 db.commit()
881 return True
882
883
884# ============================================================================

Callers

nothing calls this directly

Calls 2

deleteMethod · 0.45

Tested by

no test coverage detected