(model_id: str)
| 40 | |
| 41 | |
| 42 | async def delete_model(model_id: str): |
| 43 | headers = get_headers(CONFIG.Authentication) |
| 44 | async with aiohttp.ClientSession(headers=headers) as session: |
| 45 | request_url = f"{MODEL_BASE_URL}/{model_id}" |
| 46 | response = await session.delete(request_url) |
| 47 | return ResponseWrapper(response.status, await response.json()) |