(data: Dict)
| 24 | |
| 25 | |
| 26 | async def create_model(data: Dict): |
| 27 | headers = get_headers(CONFIG.Authentication) |
| 28 | async with aiohttp.ClientSession(headers=headers) as session: |
| 29 | request_url = MODEL_BASE_URL |
| 30 | response = await session.post(request_url, json=data) |
| 31 | return ResponseWrapper(response.status, await response.json()) |
| 32 | |
| 33 | |
| 34 | async def update_model(model_id: str, data: Dict): |