From 97d265d86d474a03c0778319b00c4e361c1f1473 Mon Sep 17 00:00:00 2001 From: Dmitry Paramonov Date: Thu, 6 Jun 2024 08:58:08 +0300 Subject: [PATCH] fix: Convert input to array of arrays --- agents-api/agents_api/models/entry/delete_entries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agents-api/agents_api/models/entry/delete_entries.py b/agents-api/agents_api/models/entry/delete_entries.py index 6aa9b1672..7bdb2dce7 100644 --- a/agents-api/agents_api/models/entry/delete_entries.py +++ b/agents-api/agents_api/models/entry/delete_entries.py @@ -112,4 +112,4 @@ def delete_entries(entry_ids: list[UUID]) -> tuple[str, dict]: :returning }""" - return (query, {"entry_ids": [str(id) for id in entry_ids]}) + return (query, {"entry_ids": [[str(id)] for id in entry_ids]})