MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / delete_record

Function delete_record

backend/tests/api_services/retrieval/record.py:40–45  ·  view source on GitHub ↗
(collection_id: str, record_id: str)

Source from the content-addressed store, hash-verified

38
39
40async def delete_record(collection_id: str, record_id: str):
41 headers = get_headers(CONFIG.Authentication)
42 async with aiohttp.ClientSession(headers=headers) as session:
43 request_url = f"{COLLECTION_BASE_URL}/{collection_id}/records/{record_id}"
44 response = await session.delete(request_url)
45 return ResponseWrapper(response.status, await response.json())

Callers 2

test_delete_recordMethod · 0.90
test_record_and_chunkMethod · 0.90

Calls 4

get_headersFunction · 0.90
ResponseWrapperClass · 0.90
deleteMethod · 0.45
jsonMethod · 0.45

Tested by 2

test_delete_recordMethod · 0.72
test_record_and_chunkMethod · 0.72