(collection_id: str, chunk_id: str)
| 53 | |
| 54 | |
| 55 | async def delete_chunk(collection_id: str, chunk_id: str): |
| 56 | headers = get_headers(CONFIG.Authentication) |
| 57 | async with aiohttp.ClientSession(headers=headers) as session: |
| 58 | request_url = f"{COLLECTION_BASE_URL}/{collection_id}/chunks/{chunk_id}" |
| 59 | response = await session.delete(request_url) |
| 60 | return ResponseWrapper(response.status, await response.json()) |